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

Modify Shelly BluH&T to include zero value for button property #598

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

chrestme
Copy link
Contributor

@chrestme chrestme commented Jan 7, 2025

Description:

This modifies the behavior of Shelly BLU H&T sensors so they should always report a value for the button property, even if it isn't reported in the message sent. If the value isn't sent by the sensor, the property is set to zero.

This addresses an issue where downstream applications (Theengs Gateway, BTtoMQTT, Home Assistant) would update the state on the first press, but state wouldn't return to a "non-pressed" state.

Checklist:

  • [ ✅ ] The pull request is done against the latest development branch
  • [ ✅ ] Only one feature/fix was added per PR and the code change compiles without warnings
  • [ ✅ ] I accept the DCO.

@DigiH
Copy link
Member

DigiH commented Jan 8, 2025

Thanks

@DigiH DigiH merged commit 46a2607 into theengs:development Jan 8, 2025
7 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