Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Last active November 10, 2017 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarsBergqvist/c1e78ace17eb3a521117df1f87027796 to your computer and use it in GitHub Desktop.
Save LarsBergqvist/c1e78ace17eb3a521117df1f87027796 to your computer and use it in GitHub Desktop.
Home Assistant automation rule with sound for a notification
automation:
alias: Notify Lars when door is opened
trigger:
platform: state
entity_id: sensor.front_door_opened
action:
service: notify.ios_larsiphone
data:
message: The front door has been opened!
data:
push:
sound: "US-EN-Alexa-Front-Door-Opened.wav"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment