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

Fix unavailable generation entity from stopping render #6

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

davet2001
Copy link
Owner

There was an issue where if an entity became unavailable, an error would occur when trying to draw it, causing the full draw to fail and leaving an empty card on the HA UI.

This PR solves the issue by allowing the draw to continue, even if phantom.rate has not been defined.

Fixes #5

@davet2001 davet2001 merged commit db9bed5 into main Oct 28, 2024
2 checks passed
@davet2001 davet2001 deleted the issue5-handle-unavailable-entities branch October 28, 2024 22:04
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.

Unavailable power entities should report 0W
1 participant