Need help with YAML in Automation

Hi everyone,

I am sure someone experienced with using YAML will see my error right away but I have struggled with this for hours using every tool I can find but no luck. Here’s my automation:

- id: '1587088885443'
  alias: East Cool Setpoint
  description: ''
  trigger: 
    platform: template
    value_template: "{{ state_attr('climate.thermostat_east', 'target_temp_high') != states('input_text.thermostat_east_cool_setting') }}"
  action: 
    service: climate.set_temperature
    data_template:
      entity_id: climate.thermostat_east
      taget_temp_high: '{{ states('input_text.thermostat_east_cool_setting') }}'
      target_temp_low: '{{ states('input_text.thermostat_east_cool_setting') }}'

It looks right to me. When I parse it in developer-tools/template it looks right. However, it clearly is not right because when I check the configuration at /config/server_control it complains about block mapping:

Error loading /config/configuration.yaml: while parsing a block mapping
in “/config/automations.yaml”, line 10, column 7
expected , but found ‘’
in “/config/automations.yaml”, line 11, column 36

What do I have wrong?

Your targets have single quotes both inside the jinja print statement and outside.
Try to put doubles outside

in addition to what @Mutt said, you also misspelled

@Mutt and @petro – That did it! Thanks for your help. I swear I tried the quotes thing every way possible but must have got caught trying more than one change at a time. The spelling error was just plain stupid.

Thanks again!