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

Wait to render templates until hass object is available #95

Merged
merged 2 commits into from
Aug 9, 2022

Conversation

decompil3d
Copy link
Owner

Something changed at some point that makes the card receive an undefined hass object sometimes. This PR adds better guards to avoid null/undefined references in that scenario.

Closes #92

@cypress
Copy link

cypress bot commented Aug 9, 2022



Test summary

43 0 0 0


Run details

Project Lovelace Hourly Weather
Status Passed
Commit b0be76e ℹ️
Started Aug 9, 2022 10:59 PM
Ended Aug 9, 2022 10:59 PM
Duration 00:35 💡
OS Linux Ubuntu - 20.04
Browser Electron 102

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@decompil3d decompil3d merged commit 2664084 into main Aug 9, 2022
@decompil3d decompil3d deleted the template-no-hass branch August 9, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Template expression example don't work wih num_segments (works first time in preview)
1 participant