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

Hydrawise automatic_watering switch unsuspend not working - Fix available #73686

Closed
timvdsm opened this issue Jun 18, 2022 · 10 comments
Closed

Comments

@timvdsm
Copy link

timvdsm commented Jun 18, 2022

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.

Unsuspend does not work right now, because the v1.4 API does not like the period_id=999 when issuing an unsuspend.
@prwood80 & @sipossz have tested this change locally, and the fix works just fine.
ptcryan/hydrawiser#11

So for my understanding this just needs to be merged. Can this be done pls?

What version of Home Assistant Core has the issue?

Core 2022.6.6

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

@probot-home-assistant
Copy link

hydrawise documentation
hydrawise source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @ptcryan, mind taking a look at this issue as it has been labeled with an integration (hydrawise) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@timvdsm

This comment was marked as off-topic.

@timvdsm

This comment was marked as off-topic.

@timvdsm

This comment was marked as abuse.

@github-actions
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 23, 2022
@sipossz
Copy link

sipossz commented Nov 23, 2022

The bug had fixed and tested, but haven't merged by the code owner @ptcryan

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot removed the stale label Nov 23, 2022
@sipossz
Copy link

sipossz commented Jan 9, 2023

@MartinHjelmare, please also merge this Hydrawise stale issue fix to production! It had fixed, but not merged, because the code owner haven't available since than. Thanks, Szabi

@MartinHjelmare
Copy link
Member

Sorry, I don't understand what you are asking of me to do. I don't see any Home Assistant Core PR referenced here, only a library PR.

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants