Open stalakerob opened 4 years ago
Yes. I have the same problem after upgraded to Hass 0.106. The card disappeared. Hic.
Same problem here. After upgraded to 0.106 the card disappeared.
Yes, not working under HA 0.106
Есть такая проблема
Same here, but shares a view with another card and it took it out as well. The entire view is now blank.
The problem was fixed by the mini-chart developer which seemed to suffer the same issue: https://github.com/kalkih/mini-graph-card/tree/0.106.x-compatibility
Change line 64
from
this._config = config;
to
this._config = JSON.parse(JSON.stringify(config));
created pull request: https://github.com/cbulock/lovelace-battery-entity/pull/15
Change line 64 from
this._config = config;
tothis._config = JSON.parse(JSON.stringify(config));
It didn't help.The card doesn't work.
Change line 64 This don't help me too
It did solve the problem on my instance..
Change line 64 This don't help me too
It didn't work for me also.
Did you try cleaning your cache or change the js file version in the url you have inside lovelace.yaml?
The cache is cleaned. The version is 0.1.Not change.
The Configurator doesn't like this line 110
Yes, not working under HA 0.106
Change line 64 from
this._config = config;
tothis._config = JSON.parse(JSON.stringify(config));
This fixed it for me.
Re-recorded again.Everything worked.
Re-recorded again.Everything worked.
Sorry but what you mean "re-recorded"? :) How you fixed it? Thank you :)
Deleted and created the card again
Re-recorded again.Everything worked.
Sorry but what you mean "re-recorded"? :) How you fixed it? Thank you :)
Deleted and created the card again
Finally I fixed it. Beside changing the code of line 64, we need to move the file battery-entity.js into www/community folder. Then change the yaml code in your ui-lovelace.yaml as below and it will work again.
resources:
- url: /community_plugin/battery-entity.js?v=0.2
type: module
Finally I fixed it. Beside changing the code of line 64, we need to move the file battery-entity.js into www/community folder. Then change the yaml code in your ui-lovelace.yaml as below and it will work again.
resources: - url: /community_plugin/battery-entity.js?v=0.2 type: module
After updating 106.5 ,the card does not work
I just installed it using HACS and I'm getting this error:
Custom element doesn't exist: battery-entity.
type: 'custom:battery-entity'
entity: sensor.side_door_battery_level
The card seems to break the complete page when multiple entities are included. A single entity however doesn't break the page, but does show a part of the problem. The border is missing when a single entity is shown. Hope this helps you to find a solution for this issue.
Example:
Agreed, I am unable to add a secondary sensor as well. Also, install does not place the correct entry in the lovelace config.
I've also tried this on Home Assistant 0.106.6, and the resource didn't get added to lovelace when clicking this:
I have had to manually add this:
- type: module
url: /hacsfiles/lovelace-battery-entity/battery-entity.js
and once I did, it all worked!
Battery card not working under HASS 0.106