Automatic shifting of some automations based on daylight savings time

So just to make sure I have this correct. I could use this setup to turn off lights later in the evening when DST is not active.

alias: Front Porch Lights off after sunset
description: |-
  DST is 2 HRs
  NST is 4 HRs
trigger:
  - platform: sun
    event: sunset
    offset: "04:00:00"
    id: normal
  - platform: sun
    event: sunset
    offset: "02:00:00"
    id: dst
condition:
  - condition: or
    conditions:
      - condition: template
        value_template: "{{ trigger.id == 'dst' and now().timetuple().tm_isdst == 0 }}"
      - condition: template
        value_template: "{{ trigger.id == 'dst' and now().timetuple().tm_isdst == 1 }}"

No. That’s not right. Look at the example above again. You missed the ‘normal’ trigger id in your conditions.