I was wondering if anyone could answer the following question.
When creating an automation with HA, say turn on a light. Does the automation “turn on” the light every time the automations runs or poll the light to determine if the light is on and turn it on if off?