Created
March 11, 2020 14:03
-
-
Save peyanski/9690450322d094e37393206d8eb25d21 to your computer and use it in GitHub Desktop.
Room-Assistant Automation to turn on the Kitchen Lights when smart watch device is detected as in home
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
Automations.yaml | |
# presence detection with room assistant | |
- id: '1574110134678355' | |
alias: Lights ON when I got home | |
description: 'When Im home' | |
trigger: | |
platform: state | |
entity_id: sensor.kirils_apple_watch_room_presence | |
from: not_home | |
to: kitchen | |
action: | |
- data: | |
entity_id: light.kitchen_lights | |
service: light.turn_on | |
- data: | |
entity_id: light.livingroom_lights | |
service: light.turn_on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment