Last active
November 13, 2018 04:46
-
-
Save LarsBergqvist/cbdc79706862095d0e7a31352d6da00d to your computer and use it in GitHub Desktop.
Home Assistant automation based on presence detection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
automation: | |
- alias: Turn on window lights when Lars gets home | |
trigger: | |
platform: zone | |
entity_id: device_tracker.my_iphone | |
zone: zone.home | |
event: enter | |
action: | |
service: switch.turn_on | |
entity_id: group.window_lights |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment