-
Erick Hitter authored
edadb98
Erick Hitter authorededadb98
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
kitchen-light-timeout.yaml 320 B
alias: Turn off kitchen light after no motion
trigger:
platform: state
entity_id: binary_sensor.kitchen
to: 'on'
condition:
condition: or
conditions:
- condition: state
entity_id: switch.kitchen
state: 'on'
action:
service: homeassistant.turn_on
entity_id: script.kitchen_light_set_timeout