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

Emit state change events for sensors not tied to an attribute #60

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

puddly
Copy link
Contributor

@puddly puddly commented Jul 5, 2024

Sensors not tied to an attribute (such as the Sinope thermostat HVAC mode) did not emit an update event when their state changed.

This fixes all commented out ZHA unit tests.

Copy link

codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.12%. Comparing base (6794a64) to head (0ec0108).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #60      +/-   ##
==========================================
+ Coverage   95.00%   95.12%   +0.11%     
==========================================
  Files          61       61              
  Lines        9306     9306              
==========================================
+ Hits         8841     8852      +11     
+ Misses        465      454      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@TheJulianJES TheJulianJES left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@puddly puddly merged commit 4fbc162 into zigpy:dev Jul 5, 2024
6 checks passed
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.

2 participants