ulic75 / power-flow-card

A power distribution card inspired by the official Energy Distribution card for Home Assistant
158 stars 27 forks source link

Dont work since HA 2023.4.x? #156

Closed dfarin closed 1 year ago

dfarin commented 1 year ago

Hiho, since i update to 2023.4.x power-flow-card doesnt work anymore. Are here any changes i miss ? Dashboard: Custom element doesnt exist console: Uncaught (in promise) http://homeassistant.local:8123/local/power-flow-card/power-flow-card.js power-flow-card.js?hacstag=484538222262:69 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'state') at yt.render (power-flow-card.js?hacstag=484538222262:69:2873) at yt.update (power-flow-card.js?hacstag=484538222262:23:410) at yt.performUpdate (power-flow-card.js?hacstag=484538222262:11:5057) at yt.scheduleUpdate (power-flow-card.js?hacstag=484538222262:11:4704) at yt.$E (power-flow-card.js?hacstag=484538222262:11:4612)

ulic75 commented 1 year ago

I've tried it with 2023.4.0 and 2023.4.2 and it works without issue. Looks like it's erroring trying to read the state of an entity. Maybe one of your entities broke with 2023.4.x?

dfarin commented 1 year ago

I've tried it with 2023.4.0 and 2023.4.2 and it works without issue. Looks like it's erroring trying to read the state of an entity. Maybe one of your entities broke with 2023.4.x?

Thanks a lot, yes, you are right, my gas entity is broken , just need to comment it out and flow card works again. :)