Hi. I need a little help determining what’s causing this error.
Logger: homeassistant.config
Source: config.py:445
First occurred: 10:07:44 AM (1 occurrences)
Last logged: 10:07:44 AM
Invalid config for [script]: expected dict for dictionary value @ data[‘sequence’][1][‘data_template’]. Got None. (See /config/configuration.yaml, line 27).
The configuration.yaml, line 27 points to my automations file which has a lot of automations unfortunately. Is there anything, in particular I should be looking for? I can’t tell from the output. I’m not sure what ‘Got None’ is referring to.
Go to your scripts.yaml → Comment out half of your script → Check Configuration → If valid → Repeat for the other half → Check until you find out which one.
OR (never tried it myself)
Paste your whole scripts.yaml inside configuration.yaml and check configuration. See if it points out which script has a problem.
Checks your scripts in scripts.yaml, specifically a line containing data_template. It’s likely to be a template that is producing a null value (None) because it makes a faulty assumption about an entity’s availability.