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

Do not process an unknown state updates #7

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Do not process an unknown state updates #7

merged 1 commit into from
Aug 1, 2022

Conversation

jbouwh
Copy link
Owner

@jbouwh jbouwh commented Aug 1, 2022

When the Elro Connects K1 connector reports an unknown state, or no device at all, this should not have impact on the state in Home Assistant. This PR assures updates are only done if the state is not unknown.

@jbouwh jbouwh added the bug Something isn't working label Aug 1, 2022
@jbouwh jbouwh self-assigned this Aug 1, 2022
@jbouwh
Copy link
Owner Author

jbouwh commented Aug 1, 2022

Coverage

Coverage Report
FileStmtsMissCover
custom_components
   init.py00100%
custom_components/elro_connects
   init.py580100%
   config_flow.py920100%
   const.py40100%
   device.py720100%
   sensor.py400100%
   siren.py460100%
TOTAL3120100%

Tests Skipped Failures Errors Time
20 0 💤 0 ❌ 0 🔥 2.076s ⏱️

@jbouwh jbouwh merged commit f9b8ef2 into main Aug 1, 2022
@jbouwh jbouwh deleted the fixes branch August 1, 2022 18:03
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

Successfully merging this pull request may close these issues.

1 participant