Template Automation Triggers Not Working in HA v0.117.5

Hello,

I use template triggers for a few different nighttime related automatons, e.g., turn on the nights 10 mins before dusk.

This automation works fine in v 0.112.0 but is not being triggered in v0.117.5 and there are no errors in the logs (with standard logging turned on). Are there any breaking changes that could explain this (I checked the notes but didn’t notice anything)?

- id: turn_outside_lights_on
  alias: Timer- Outside Lights On (Dusk)
  initial_state: 'on'
  trigger:
    # Trigger 10 minutes before dusk
    - platform: template
      value_template: '{{ (( as_timestamp( states.sun.sun.attributes.next_dusk ) | int ) - 600) < ( as_timestamp( now() ) | int ) }}'
  action:
    - service: homeassistant.turn_on
      entity_id: script.outside_lighting

Thanks for any help or suggestions,
Will