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

Remove entity from HA when not found on device #20

Merged
merged 1 commit into from
Aug 27, 2021
Merged

Conversation

gtdiehl
Copy link
Owner

@gtdiehl gtdiehl commented Aug 27, 2021

Fix #1

When removing or renaming a device KeyErrors are thrown because the entity is no longer available.

This code removes the entity from Home Assistant when a user removes/renames a sensor from the IoTaWatt web interface

@gtdiehl gtdiehl merged commit 7a9d704 into main Aug 27, 2021
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.

Removing sensor from IoTaWatt device causes errors
1 participant