After updating to Home Assistant 2021.7.1 the card stopped working?
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Oh wow, this is serious!!! I have a repro now. I will try to fix it ASAP
Thanks!
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