Created
July 23, 2025 05:06
-
-
Save peyanski/c02bb324f60cd8ee942e635955b9e9ff to your computer and use it in GitHub Desktop.
New Automation - Kevin.yaml
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: New automation - Kevin | |
description: "" | |
triggers: | |
- trigger: state | |
entity_id: | |
- binary_sensor.aqara_lumi_motion_ac01_occupancy | |
to: "on" | |
id: detected | |
- trigger: state | |
entity_id: | |
- binary_sensor.aqara_lumi_motion_ac01_occupancy | |
to: "off" | |
for: | |
hours: 0 | |
minutes: 5 | |
seconds: 0 | |
id: clear | |
- trigger: state | |
entity_id: | |
- binary_sensor.bbq_rlc_522_motion | |
from: "on" | |
id: detected | |
- trigger: state | |
entity_id: | |
- binary_sensor.bbq_rlc_522_motion | |
to: "off" | |
for: | |
hours: 0 | |
minutes: 5 | |
seconds: 0 | |
id: clear | |
conditions: [] | |
actions: | |
- choose: | |
- conditions: | |
- condition: trigger | |
id: | |
- detected | |
sequence: | |
- action: light.turn_on | |
metadata: {} | |
data: {} | |
target: | |
entity_id: light.desk_light | |
- conditions: | |
- condition: trigger | |
id: | |
- clear | |
sequence: | |
- action: light.turn_off | |
metadata: {} | |
data: {} | |
target: | |
entity_id: light.desk_light | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment