Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Last active November 10, 2017 17:55
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/ea4693b9dd1d10d17903b3ae2e828c90 to your computer and use it in GitHub Desktop.
Save LarsBergqvist/ea4693b9dd1d10d17903b3ae2e828c90 to your computer and use it in GitHub Desktop.
A Home Assistant automation rule for sending ios notifications on sensor state changes
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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment