I created an automation with a condition so that the actions would process for any other sun-state than ‘above_horizon’
in yaml
condition: not
conditions:
- condition: state
entity_id: sun.sun
state: above_horizon
The trace shows that it has ignored the NOT
It then didnt continue to the actions.
How did i do this wrong ? What would be the correct method ?
Please dont get hung up on the entity used, its more about the use of a Not-Condition
1 post - 1 participant