question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Since updating Home Assistant to 2021.4, I have received the following Invalid config notification. I believe this relates to the bom-weather-card and am hoping that you will be able to provide some help in fixing. I cannot decipher the code. It does mention Script in the notification, and the code it provides in the Log suggests line 14 of my configuration.yaml file which is my scripts.yaml. I have gone through Scripts and there is no script pertaining to the BOM-Weather-Card…

Capture

Logger: homeassistant.config Source: config.py:437 First occurred: 10:41:38 (1 occurrences) Last logged: 10:41:38

Invalid config for [script]: expected a dictionary. Got OrderedDict([(‘homeassistant’, OrderedDict([(‘name’, ‘Home’), (‘latitude’, -xx.xxxxxx), (‘longitude’, xxx.xxxxx), (‘elevation’, 24), (‘unit_system’, ‘metric’), (‘time_zone’, ‘Australia/Sydney’), (‘internal_url’, ‘http://homeassistant.local:8123’), (‘packages’, OrderedDict([(‘weather’, OrderedDict([(‘sensor’, [OrderedDict([(‘platform’, ‘template’), (‘sensors’, OrderedDict([(‘bom_current_text’, OrderedDict([(‘value_template’, "{% set val = states(‘sensor.zetland_short_text_0’).split(‘.’)[0] %} … (See /config/configuration.yaml, line 14).

And my config yaml for reference.

homeassistant: !include homeassistant.yaml

logger:
  default: info

default_config:
mobile_app:
discovery:
frontend: !include frontend.yaml
tts: !include tts.yaml

cloud: !include cloud.yaml
group: !include groups.yaml

script: !include scripts.yaml
automation: !include automations.yaml
scene: !include scenes.yaml

device_tracker: !include device_tracker.yaml
input_select: !include input_select.yaml
sensor: !include sensor.yaml
binary_sensor: !include binary_sensor.yaml
zone: !include zones.yaml
proximity: !include proximity.yaml

light: !include light.yaml
switch: !include switch.yaml
climate: !include climate.yaml

spotify: !include spotify.yaml
#spotcast: !include spotcast.yaml

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidFW1960commented, Apr 10, 2021

Yes I did… I’ll check it tomorrow but pretty sure as the card works it’s going to be something else in one of your scripts.

1reaction
DavidFW1960commented, Apr 9, 2021

so I think the error is unrelated to the card config. Is the card showing ok in lovelace? I think the error is spurious as it seems to not like one of your scripts. If not, can you send me by email… weather.yaml lovelace config for card uour location lat/long so I can setup my config for your area. email: david@wilfam.net

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid Config - Home Assistant OS
Hi, New user, managed to connect my tasmota flashed mqtt devices, as well as enable owntracks after some long struggles.
Read more >
Error: failed to load configuration: failed to load: invalid config ...
Hello, I am setting up mattermost docker team edition with mariadb in an internal company network. This is my configuration with .env.
Read more >
Invalid Configuration Information error is received at computer ...
An error occurs when turning on the laptop that reads, "Invalid configuration information" and "Time-of-day not set" (Figure 1). BIOS-RESET.
Read more >
Invalid config for [automation]: invalid trigger configuration in ...
The problem I am getting 'Invalid config for [automation]: invalid trigger configuration' error in the notification center after upgrading ...
Read more >
User has passed invalid configuration file” when trying to ...
Solution: Make sure to use the correct .pit file (and related path) in the command is being used to register the software manually....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found