I have the below script. When ran, the computer monitors and the office desk lamp are turned off, but the office floor lamp remains on. I’ve tried delays, but same results. Funny thing, a similar script to turn on office devices functions fine, including the office floor lamp is turned on.
I’ve also included the log (latest at top).
There’s no other condition/automation that would prevent this. I can turn off/on the light manually via HA GUI.
Suggestions? Thanks!
Script:
# Office Off
office_off:
sequence:
- service: switch.turn_off
entity_id: switch.computer_monitors
- service: switch.turn_off
entity_id: switch.office_light_strip
- service: light.turn_off
entity_id: light.office_floor_lamp
- service: light.turn_off
entity_id: light.office_desk_lamp
Log:
office_off turned off
office_off turned on
Computer Monitors turned off
office_off started