Created
July 11, 2022 05:25
-
-
Save joejulian/0701e5fea63936f3bac76e180d0abfab to your computer and use it in GitHub Desktop.
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
alias: 'Front Yard: Ring Motion Detected' | |
description: '' | |
trigger: | |
- type: motion | |
platform: device | |
device_id: 6d8b2595065d11eb8733353522263a5f | |
entity_id: binary_sensor.front_door_motion | |
domain: binary_sensor | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 0 | |
condition: | |
- condition: or | |
conditions: | |
- condition: sun | |
before: sunrise | |
- condition: sun | |
after: sunset | |
action: | |
- service: timer.start | |
data: {} | |
target: | |
entity_id: timer.porch_light_timer | |
mode: single |
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
alias: 'Front Porch: Turn off light with timer' | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: timer.porch_light_timer | |
to: idle | |
condition: [] | |
action: | |
- service: switch.turn_off | |
data: {} | |
target: | |
device_id: 320f84960b9511eb985fb3a712f7e5e3 | |
mode: single |
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
alias: 'Front Porch: Turn on light with timer' | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: timer.porch_light_timer | |
to: active | |
condition: [] | |
action: | |
- service: switch.turn_on | |
data: {} | |
target: | |
device_id: 320f84960b9511eb985fb3a712f7e5e3 | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment