Apple Watch actions โ๐๐
jcallaghan opened this issue ยท 4 comments
Create actions in Home Assistant mobile app to allow automations and scripts to be triggered via Apple Watch.
- TTS updates.
- Scripts, for example, announcing common phrases "Dinner is almost ready, please set the table."
- Security i.e. arm alarm.
- Scenes like lights off.
- Fun stuff like activating party scenes with playlists and lighting or even just spraying the air freshener.
Related: #232
#HomeAssistant Mobile App
documentation - https://companion.home-assistant.io/docs/core/core
#HomeAssistant Mobile App Apple Watch
documentation - https://companion.home-assistant.io/docs/apple-watch/apple-watch
#HomeAssistant Mobile App Apple Watch Actions
documentation - https://companion.home-assistant.io/docs/apple-watch/watch-actions/
Once the action has been created in the mobile app, you can listen for the event being called via Developer Tools > Events > Listen to events ios.action_fired
. You can see more examples in the Watch Actions reference above.
Here is an example of a trigger I've added to an automation.
# Apple Watch action
- platform: event
event_type: ios.action_fired
event_data:
actionName: FRESH_ALL