-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Hydrawise automatic_watering switch unsuspend not working #68018
Comments
Still not working, cannot unsuspend the automatic watering from homeassistant |
I have the same problem. |
The Hydrawise API v1.4 can unsuspend the zones, only the integration handles it wrong somehow. I tried with the following API request from a browser, and it works well, I'm able to unsuspend the zones: answer: |
Using the period_id=0 does work, though, it is not documented as such. I'll try to get a merge request with this change with the hydrawiser project (I made a local change and tested it). If that gets accepted, the change within HA should be trivial (just update the hydrawiser library). On a side note, I am working on the v2 API, which opens up a lot more data from Hydrawise (including rain sensors). I have it communicating (queries and commands), but it definitely needs cleanup before I can push something. |
Is there any progress? Would be great to have this fixed ;-) |
It's fixed, but not merged to master branch in Hydraviser, yet. @ptcryan, do the merge, please! Thanks |
The problem
Hi!
Now the automatic_watering switch suspends watering for one year (not configurabe) and when toggled, the code sending the suspend to 0 period by the switch.py below:
self.hass.data[DATA_HYDRAWISE].data.suspend_zone(0, relay_data)
In the Hydrawise log appears the following:
Suspending scheduled watering for Hydrawise Zone1 Frontyard till Thursday, 1st of January 1970, 01:00AM
But the zone still suspended for the previously set one year on the Hydrawise webpage (must cancel manually) and the switch status in HA also still representing this suspended state. This causing the zones cannot be unsuspended by the integration.
Thanks,
Szabi
What version of Home Assistant Core has the issue?
core-2022.3.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Hydrawise
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hydrawise/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Hydrawise api can be find here:
https://support.hydrawise.com/hc/en-us/articles/360008965753-Hydrawise-API-Information
The text was updated successfully, but these errors were encountered: