What is wrong with my configuration? telegram

i creat one script:

  • service: switch.turn_on
    entity_id: switch.outlet_1
    • service: notify.notify
      data_template:
      message: hello

and the home assistant.log say that:
16-11-30 19:18:14 homeassistant.util.yaml: mapping values are not allowed here
in “/home/hass/.homeassistant/includes/scripts/testi.yaml”, line 4, column 17

whats wrong?

My guess is a spacing issue. Double check your yaml is formatted correctly.

1 Like

If you post your config using preformatted text, we can probably help spot the issue.

Also - don’t messages need to be quoted?

1 Like

I installed the notepade++ and find the error.
thank you