Switch Activity

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?

If you tell the automation to turn on the light it will send the light.turn_on service no matter the state of the light unless you tell it check the state first in a condition.