custom-cards/canvas-gauge-card

TypeError: hass.states[entityId] is undefined in HA 103.0

garyak opened this issue · 1 comments

Error in HA 0.103.0 prevents loading of the gauge cards.

Thread) [frontend.js.latest.201912041] http://internal_IP/community_plugin/canvas-gauge-card/canvas-gauge-card.js:201:9 TypeError: hass.states[entityId] is undefined
2019-12-11 15:32:39 ERROR (MainThread) [frontend.js.latest.201912041] http://internal_IP/community_plugin/canvas-gauge-card/canvas-gauge-card.js:201:9 TypeError: hass.states[entityId] is undefined
2019-12-11 15:44:28 ERROR (MainThread) [frontend.js.latest.201912041] http://external_IP/community_plugin/canvas-gauge-card/canvas-gauge-card.js:201:44 TypeError: undefined is not an object (evaluating 'hass.states[entityId].state')
2019-12-11 15:44:28 ERROR (MainThread) [frontend.js.latest.201912041] http://external_IP/community_plugin/canvas-gauge-card/canvas-gauge-card.js:201:44 TypeError: undefined is not an object (evaluating 'hass.states[entityId].st

Installed through HACS.

Error was due to entity_ID error of displayed sensor, not the card itself.