Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'isNight' of undefined #27

Open
bdovaz opened this issue Mar 3, 2020 · 2 comments
Open

Cannot read property 'isNight' of undefined #27

bdovaz opened this issue Mar 3, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@bdovaz
Copy link

bdovaz commented Mar 3, 2020

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)

@kalkih kalkih added the bug Something isn't working label May 11, 2020
@eximo84
Copy link

eximo84 commented May 22, 2020

Same issue for me but i am configuring this without HACS

@dubilyer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants