I am confused by the initial_state that can be set for automations. I noticed some behaviour changes after upgrading to 0.42 (issues #6911 and possibly #6936 were related to this) and have been trying to figure out what “on” and “off” mean with regard to automations.
Does ON mean, the automation can be triggered if the right conditions are met, and OFF means it will never be triggered even if the specified conditions are met?
Or does it turn ON when it is triggered and turn off again when it is ready executing?
I am asking because I cannot figure out how to set the initial state for several automations. I have multiple involving switching/dimming the same light. and it seems one keeps overrulling the other or something, but I can’t find the pattern of what is doing what when setting different initial_states.
Hope someone can shed a light?