Turn on wife's desk lights if computer is turned on

This commit is contained in:
2023-03-19 15:41:45 -04:00
parent cc59d36401
commit e30c3d38a4

View File

@ -507,6 +507,11 @@ automation:
from: 'off'
to: 'on'
id: lights-on
- platform: state
entity_id: binary_sensor.tina_desktop_on
from: 'off'
to: 'on'
id: computer-on
action:
- if:
- condition: or
@ -515,6 +520,8 @@ automation:
id: toggle-on
- condition: trigger
id: reset
- condition: trigger
id: computer-on
then:
- if:
- condition: state