Disable an automation when daylight saving time comes or goes

Add this Template Condition to your automation and it will prevent it from executing its actions on the last sunday of March and the last sunday of October.

condition:
  - condition: template
    value_template: >
      {% set dst_changeover = now().month in [3,10] 
        and now().isoweekday() == 7
        and (now() + timedelta(days=7)).month != now().month %}
      {{ not dst_changeover }}

EDIT

Correction. October is 10.