I created custom mqtt sensor which gets its data on a regular basis, i.e. every minute. If I visit the page with the list-card before the first update of the sensor, I get the following error in the HA logs:
Logger: frontend.js.latest.202203012
Source: components/system_log/__init__.py:190
First occurred: 10:28:10 AM (1 occurrences)
Last logged: 10:28:10 AM
http://192.168.1.111:8123/hacsfiles/list-card/list-card.js:92:71 TypeError: can't convert undefined to object
Once the sensor is updated this error doesn't happen.
I created custom mqtt sensor which gets its data on a regular basis, i.e. every minute. If I visit the page with the
list-card
before the first update of the sensor, I get the following error in the HA logs:Once the sensor is updated this error doesn't happen.
This is my sensor:
This is my card:
This is a sample JSON arriving:
I think, the correct behavior should be no error message, just the card with the header, but no rows.