Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 117686

Finding error in script

$
0
0

I’m using a script.yaml and an error is being thrown on startup. However, the error message points to the line in my configuration.yaml that refers to the script.yaml.

Logger: homeassistant.config
Source: config.py:464
First occurred: 06:43:57 (2 occurrences)
Last logged: 06:43:57

Invalid config for [script]: expected str for dictionary value @ data['sequence'][0]['state']. Got None. (See /config/configuration.yaml, line 44).
Invalid config for [automation]: [value] is an invalid option for [automation]. Check: automation->condition->2->value. (See /config/configuration.yaml, line 43).

This is the relevant code in my configuration.yaml

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
input_boolean: !include input_booleans.yaml

These are the relevant lines in the script.yaml file, but I do not see the error.

How do I trace the error in the script?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 117686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>