hi, i found a blueprint here and i changed it to this:
it works fine, but the risk is that i can set them to turn on at 10%, but then what if i’m in the kitchen and have set the light to 70% with a zigbee button, then at sunset the light would go to 10%
could i just add a condition more so that it has to be below the angle i set and sun is setting (not rising) and the light must be off… off because if its on then it must be assumed that its set manual by me
thoughts?
condition:
- condition: template
value_template: ‘{{state_attr(“sun.sun”, “rising”) == false}}’ - condition: state
entity_id: !input target_light
state: ‘off’
for some reason that breaks it
also it seems this do not work:
condition: and
conditions:
- condition: template
value_template: ‘{{state_attr(“sun.sun”, “rising”) == false}}’ - condition: state
entity_id: !input target_light
state: ‘off’