What is wrong with my yaml file?

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

light_on_change: !include light_on_change.yaml


  • data:
      alias: Light Change

2018-02-03 17:33:15 INFO (MainThread) [homeassistant.setup] Setting up group
2018-02-03 17:33:15 ERROR (MainThread) [homeassistant.config] Invalid config for [script]: [data] is an invalid option for [script]. Check: script->script->light_on_change->sequence->0->data. (See /home/homeassistant/.homeassistant/configuration.yaml, line 70). Please check the docs at https://home-assistant.io/components/script/
2018-02-03 17:33:15 ERROR (MainThread) [homeassistant.setup] Setup failed for script: Invalid config.

Sorry for the codeless formatting, new to this platform
Can someone please edit it for me, In case people don’t understand the last yaml -https://justpaste.it/1glto

You don’t have a service call as per the docs…

1 Like

Thanks a lot!