feat: add beer name sensor to Keg device integration#19
Merged
Conversation
Contributor
Preview Release CreatedA preview release has been created for testing this PR. Version: How to Test
Or install directly via HACS:WARNING: This is a preview release - do not use in production! Once testing is complete and approved, this PR can be merged for an official release. |
Contributor
Preview Release CreatedA preview release has been created for testing this PR. Version: How to Test
Or install directly via HACS:WARNING: This is a preview release - do not use in production! Once testing is complete and approved, this PR can be merged for an official release. |
Contributor
|
🧹 Cleaned up 2 preview release(s) for this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the MiniBrew integration by adding a new sensor for the keg's beer name, improves dynamic device tracking, and bumps the
pymbrewclientdependency version. The main changes are grouped below:New Sensor Feature:
KegBeerNameSensorto track and expose the name of the currently loaded beer in each keg. This includes updating the sensor registration logic and documentation. [1] [2]Device Tracking Improvements:
add_new_sensors()to track which devices are currently present in the API response, allowing for more robust handling of devices that go offline and come back online. Devices no longer present are removed from the tracked set, supporting re-registration. [1] [2]Dependency Update:
pymbrewclientrequirement to version>=1.8.1to ensure compatibility with the new features.