simple-weather-card
simple-weather-card copied to clipboard
Cannot read property 'isNight' of undefined
I have configured it with HACS and I get this error on the latest stable HA release:
simple-weather-card-bundle.js:1 Uncaught (in promise) TypeError: Cannot read property 'isNight' of undefined at HTMLElement.render (simple-weather-card-bundle.js:1) at HTMLElement.update (lit-element.ts:217) at HTMLElement.performUpdate (updating-element.ts:704) at HTMLElement._enqueueUpdate (updating-element.ts:653)
Same issue for me but i am configuring this without HACS
I've got this problem after the blind copy-paste from the readme 🤦♂️.
Probably I don't have an entity named weather.smhi
.
After changing it to weather.home
everything works like a charm.
@kalkih I suppose it's an expected behavior. Maybe it worth adding a bit more details to console.log.