Home assistant 107.6 config is not an object
See original GitHub issueIn between two cards i have a break, on the front end i have a red box that says config is not an object
resources:
- url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js
type: js
- url: /local/layout-card.js
type: module
views:
- type: custom:layout-card
layout: vertical
cards:
- type: thermostat
entity: climate.main_floor
- break
- type: 'custom:upcoming-media-card'
entity: sensor.plex_recently_added
title: Recently Downloaded
image_style: fanart
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Troubleshooting your configuration - Home Assistant
It can happen that you run into trouble while configuring Home Assistant. Perhaps an integration is not showing up or is acting strangely....
Read more >Configuration.yaml saving issues - Home Assistant Community
i have a problem, i am changing the configuration.yaml and it saves ... the error “[object Object]” , the changes are saved but...
Read more >Cannot View 'Overview' - Home Assistant Community
When I click overview I receive the following message: Error loading the view strategy: TypeError: undefined is not an object (evaluating ...
Read more >Weird message in configuration check
When I now do a configuration check, I get a weird non descriptive message. “Configuration will not prevent Home Assistant from starting!
Read more >'NoneType' object is not iterable - Home Assistant Community
I got this error: 2021-05-10 16:29:41 ERROR (MainThread) [homeassistant.helpers.check_config] Unexpected error validating config Traceback ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue, it drove me mad. I had an existing lovelace dashboard that I tweaked to use the layout-card. That worked fine, the layouts and column widths got adjusted so the layout card seemed to work perfectly. Untill I used the - break… Same issue, the red rectangle with ’ config is not an object’. My hunch was that it is not so much a bug in the layout card but somehow the combination of the already existing script entries. I tried numerous tweaks and none of them worked.
In the end I removed the full existing script and started one from scratch. Of course I saved my existing script first as a seperate textfile. I configured the new script via the UI, simply with a few markdowns. I again edited that script to get it to use the layout card. And, I used the break command and it straight away worked. That script will be the base for the development of my lovelace dashboard.
To help you all that are still running into this issue I have copied my very simple dashboard script below that uses the layout card and has a working - break command.
views:
If you copy the above in a new dashboard I am confident it will also work for you. All dots in the text are actually - dashes but the editor changed it after pasting.
Michel simple.txt
HA 0.115 problem still exists