custom-cards / gauge-card

Apache License 2.0
45 stars 12 forks source link

Not working after upgrade to version 0.110.0 #9

Open Lee7and7 opened 4 years ago

Lee7and7 commented 4 years ago

I checked https://developers.home-assistant.io/blog/ and found that probably code should be corrected with something like: const helpers = await loadCardHelpers(); const element = helpers.createRowElement(config); element.hass = this.hass; For more info see https://github.com/home-assistant/home-assistant-polymer/pull/4853

thanks

plissje commented 4 years ago

Hi, Seems like I got the same problem as well.

2020-05-25 23:50:22 ERROR (MainThread) [frontend.js.latest.202005194] https://hassio:8123/hacsfiles/gauge-card/gauge-card.js:168:21 Uncaught TypeError: Cannot read property 'state' of undefined