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.

After updating to Home Assistant 2021.7.1 the card stopped working?

See original GitHub issue

Describe what is wrong After update of HA (from previous version) my lovelace started acting up in strange ways. Editing lovelace was an issue (the edit button on cards doesnt show up unless I jump back-and-forth between tabs), and one tab with a few cards was always empty, no matter how many times I refreshed, and cleared the cache.

Just ONCE did I see a strange error in the logs referring to battery-card.js, so I tested and manually removed the reference to the below batterycard-config (which I had to do by manually editing the .storage/lovelace-files since I couldnt see anything in HA GUI).

On restart, the tab was fine again. No idea what the issue is, but a heads up, just in case.

YAML configuration

                        {
                            "type": "custom:battery-state-card",
                            "title": "Battery levels",
                            "sort_by_level": "asc",
                            "entities": [
                                "sensor.sm_g975f_battery_level",
                                "sensor.sm_g986b_battery_level"
                            ],
                            "collapse": 5,
                            "filter": {
                                "include": [
                                    {
                                        "name": "entity_id",
                                        "value": "*_battery_level"
                                    }
                                ],
                                "exclude": [
                                    {
                                        "name": "entity_id",
                                        "value": "*low_battery_level"
                                    }
                                ]
                            }
                       }

Screenshot

Version

Latest release. Running HA Container.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maxwroccommented, Jul 15, 2021

Oh wow, this is serious!!! I have a repro now. I will try to fix it ASAP

Thanks!

0reactions
maxwroccommented, Dec 20, 2021

Sorry for a big delay but I haven’t had a time to work on this card before. I’m about to release v2 version where I cannot repro the issue any more.

Once the v2 is released I will close this issue. Feel free to ropen if you still see the problem. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

2021.7: A new entity, trigger IDs and script debugging
Presenting the select entity, identify the automation trigger by an ID, debugging and tracing for scripts and easily parse dates in ...
Read more >
ESP32 camera not working after update to 2021.7.0 #52718
I've upgraded to 2021.7.1, verified my venv install has the new 5.0.0 version of aioesphome and I'm still not getting my camera in...
Read more >
Home Assistant Upgrade core-2021.7.1 : r/homeassistant
I know the newest version of the Core for Home Assistant handles the proxy I have my Home Assistant running on a Pi4...
Read more >
Getting started with Home Assistant in 2022 (UPDATED)
We will also cover a few must-have add-ons and integrations that you should add after installing Home Assistance.
Read more >
5 Home Assistant Beginner MISTAKES to Avoid!
Home Assistant is an amazing piece of software that we all know and love ... or an update made one of your devices...
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