-
-
Save YourFriendCaspian/0321bef3b2cd77dfa87a401042b1a9cb to your computer and use it in GitHub Desktop.
Home Assistant automation based on presence detection
This file contains hidden or 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