Skip to content

Commit 364b071

Browse files
committed
Add blueprint to control Sleep as Android app
1 parent 21ff5d8 commit 364b071

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/_integrations/sleep_as_android.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,21 @@ mode: single
187187
188188
{% endraw %}
189189
190+
## Control Sleep as Android via Home Assistant
191+
192+
The **Sleep as Android** app can be automated through its [Intent API](https://sleep.urbandroid.org/docs/devs/intent_api.html), allowing you to perform actions such as:
193+
194+
- Enable or disable alarms
195+
- Snooze or dismiss alarms
196+
- Start, stop, or pause sleep tracking
197+
- Stop lullaby playback
198+
199+
Thanks to the **Home Assistant Companion App for Android**, which supports [broadcasting intents](/docs/notifications/notification-commands#broadcast-intent), you can trigger these actions directly from Home Assistant.
200+
201+
To make this even easier, you can import the following blueprint. It supports nearly all Sleep as Android actions, so you can automate your sleep routine without writing any custom scripts:
202+
203+
{% my blueprint_import badge blueprint_url="https://community.home-assistant.io/t/sleep-as-android-trigger-app-actions/920845" %}
204+
190205
## Data updates
191206
192207
This integration receives push updates from the Sleep as Android app whenever an event is triggered. If no events occur, the displayed data may become outdated.

0 commit comments

Comments
 (0)