hi.
i have an automation which i want to trigger ONLY after sunset… but that of course recurring.
i think i may have a misunderstanding of sunset.
so the automation looks like the following
platform: state
entity_id: binary_sensor.aeotec_zw100_multisensor_6_sensor
from: 'off'
to: 'on'
condition:
- condition: sun
after: sunset
and i want this to trigger whenever its after sunset and the sensor detects motion.
the first bit works… so the sensor is picking up and turns the light on (i also have one which turns the light off)
however this only works up till midnight :(.
so after midnight its a new day and doesnt work… (it would be my guess that this is normal and as its a new day - its no longer AFTER sunset on that day … although the sun icon still shows a moon…
so how should i do this… put in an ‘and’ which says ‘before: sunrise’ ? … this seems overkill to me…