-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Add "Push Flow Meter Data" service to RainMachine and bump regenmaschine to 2022.10.0 #80890
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
Add "Push Flow Meter Data" service to RainMachine and bump regenmaschine to 2022.10.0 #80890
Conversation
Hey there @bachya, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
FYI, just cut Changelog: https://github.com/bachya/regenmaschine/releases/tag/2022.10.0 |
@bachya I think I caught everything in the update. Let me know if you see anything else. Thanks for the review. |
@shbatm Looks great! I don't have a flow meter, so I can't directly test this – have you confirmed? |
@bachya - don't approve yet. Chasing this error from the unit: 2022-10-24 11:29:06,983 - ERROR - rmHTTPResourceApi4Watering:421 - int() argument must be a string or a number, not 'dict' |
@bachya Fixed. The service is functioning properly, but the flow meter sensors in HA that are part of the existing integration aren't reading anything for Flow Sensor Clicks or Flow Sensor Start Index, only clicks per m^3 works correctly--still from the old API; I'll work on the follow up PR when I get a chance.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Proposed change
Add new service to RainMachine to push flow meter data from an external device to the RainMachine controller.
This functionality was added in RainMachine API 4.6.1
regenmaschine
@ 2022.10.0:Changelog: bachya/regenmaschine@
2022.10.0
(release)Diff: bachya/regenmaschine@2022.09.2...2022.10.0
Note: adding the flow meter data as sensors will be subject of a future PR. Splitting these for ease of review.
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: