Ok - this might be a bit simple, but i am fairly new to HA automations - as i have previously build all my automations in nodered.
I have build a simple automation, that turns on the outside light - when a motion is triggered,
it then waits for some time - and turns off the light again.
i have a condition that the sun should be down, to save some energy, and avoid turning on the lights during the day.
the automation mode is restart, so if people stay, the lights will keep on.
now - i want to to able to turn on the lights manually - if i want to.
this works - until motion is detected, and then it will turn of the lights.
so - my initial thought is to add a condition - that the light should be off.
is this the “right” way achieving this?