- id: sunset_light_living_room_lamp_level
alias: Test - light.living_room_lamp_level
hide_entity: False
trigger:
platform: time
at: '17:52:00'
condition:
condition: state
entity_id: light.living_room_lamp_level
state: 'off'
action:
service: light.turn_on
entity_id:
- light.living_room_lamp_level
data:
brightness: 10
No matter what state the dimmer switch is in, the light never turns on when the condition is present. I’m trying to make an automation that sets the light levels only if the lights are off. Can anyone help?
So, add-on question. Is there a way to do a condition on a service? I’m going to need a bunch of automations to make it work on a light-by-light level. I want the below to basically only change each individual light if that light is off, similar to the above.