Hi,
I got some strange fail, checking my configuration at it reports as valid, but immediately notification sent that automation and script cannot be loaded:
looking into the log and all i got:
2021-08-27 12:46:49 ERROR (MainThread) [homeassistant.config] Invalid config for [script]: expected a dictionary. Got OrderedDict([('http', OrderedDict([('server_port', 443), ('ssl_certificate', '/ssl/fullchain.pem'), ('ssl_key', '/ssl/privkey.pem'), ('ip_ban_enabled', True), ('login_attempts_threshold', 97)])), ('automation', [OrderedDict([('id', '1615241468813'), ('alias', 'Open bedroom blinds in the morning'), ('description', 'Slow open bedroom blinds till half in the morning'), ('trigger', [OrderedDict([('platform', 'time'), ('at', '10:15')])]), ('condition', [OrderedDict([('condition', 'time'), ('weekda.... (See /config/configuration.yaml, line 6).
2021-08-27 12:46:50 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See ?, line ?).
my configuration.yaml is:
homeassistant: !include config/core/homeassistant.yaml
http: !include config/core/http.yaml
automation: !include automations.yaml
# automation yaml: !include_dir_merge_list config/automation
alert: !include_dir_named config/alerts
group: !include config/group/groups.yaml
script: !include scripts.yaml
script yaml: !include_dir_merge_named config/script/
....
...
How to debug such thing?
Started to go one by one, but i have hungreds of automations and tons of scripts… :\