custom-cards / circle-sensor-card

A custom component for displaying sensor values as cards or elements
Apache License 2.0
174 stars 23 forks source link

TypeError: undefined is not an object (evaluating 'state.state') #24

Open liuk4friends opened 3 years ago

liuk4friends commented 3 years ago

Hi there, Since some weeks I could see this error in my logs

Logger: frontend.js.latest.202010012
Source: components/system_log/__init__.py:193 
First occurred: 1:31:43 (5 occurrences) 
Last logged: 1:31:43

https://myurl.duckdns.org:****/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:1713 TypeError: undefined is not an object (evaluating 'state.state')

However, as far as I can understand, all my cards that use this custom frontend are working without any issue

faspina commented 3 years ago

I get this too. I can't figure it out. It repeats the error for every sensor card I have on my view.

gidadavid commented 3 years ago

same here. Ha version is 2021.1.5

Logger: frontend.js.latest.202012291
Source: components/system_log/__init__.py:193
First occurred: 1:21:37 AM (24 occurrences)
Last logged: 1:11:15 PM

http://hassio:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:79 Uncaught TypeError: Cannot read property 'state' of undefined
http://hassio:8123/hacsfiles/circle-sensor-card/circle-sensor-card.js:76:1713 TypeError: undefined is not an object (evaluating 'state.state')
haffisi commented 3 years ago

same here

michl270 commented 3 years ago

same error is occuring on my installation

armdan commented 3 years ago

I can't stop this message

circle-sensor-card/circle-sensor-card.js:95:55 TypeError: undefined is not an object (evaluating 'state.attributes')

armdan commented 3 years ago

I gave up on this card