[Solved] Cannot get "for" to work with template trigger

2019-06-27 21:29:46 ERROR (MainThread) [homeassistant.components.homeassistant] Invalid config for [automation]: [for] is an invalid option for [automation]. Check: automation->trigger->0->for.

I get above error when add a for option to a template trigger automation. Can someone help with the below code?

- alias: 'Switch Thermostat Mode'
    trigger:
      platform: template
      value_template: '{{ states.climate.grd_floor.attributes.operation_mode | lower != states.sensor.hvac_ope
rating_mode.state | lower }}'
      for: '00:30:00'
    action:
      - service: climate.set_operation_mode
        data_template:
          entity_id: climate.grd_floor
          operation_mode: '{{ states.sensor.hvac_operating_mode.state | default("heat") }}'

What version of HA are you using? The for: option was added to the template trigger in release 0.95.

That would explain it. I am on 0.94.4.