Time Trigger Automation Issue

I’m trying to set up an automation that triggers every 3 minutes and 15 seconds, but it’s currently firing every minute instead. Here’s my configuration:

yaml
alias: ‘Kleurtemperatuur automatisch’
trigger:

  • platform: time_pattern
    seconds: ‘/195’ # every 3 minutes and 15 secs
  • platform: state
    entity_id: light.woonkamer_plafond, light.keukentafel, light.woonkamer_trio1, light.woonkamer_trio2, light.woonkamer_trio3
    to: ‘on’
    condition:
  • condition: and
    conditions:
    • condition: state
      entity_id: group.colortemplights
      state: ‘on’
    • condition: template
      value_template: ‘{{ as_timestamp(now()) - as_timestamp(state_attr(’‘automation.kleurtemperatuur_automatisch’‘,’‘last_triggered’‘)) > 10 }}’
      action:
  • delay:
    seconds: 4
  • service: light.turn_on
    data_template:
    entity_id: ‘{{ states | selectattr(’‘entity_id’‘, ‘‘in’’, state_attr(’‘group.colortemplights’‘, ‘‘entity_id’’)) | selectattr(’‘state’‘, ‘‘equalto’’, ‘‘on’’) | map(attribute=’‘entity_id’‘) | join(’, ‘) }}’
    color_temp: ‘{{ states(’‘sensor.colortemperature’‘) }}’
    transition: 3