Commit graph

97 commits

Author SHA1 Message Date
G Johansson
90bd9bb626
Fix translations in hydrawise (#129834) 2024-11-04 19:57:00 +01:00
epenet
b3eca73e48
Use reauth helpers in hydrawise (#128632) 2024-10-18 08:44:25 +02:00
David Knowles
ebb8ec954d
Increase Hydrawise polling interval to 60 seconds (#128090) 2024-10-10 16:35:33 +02:00
David Knowles
9e37c14179
Bump pydrawise to 2024.9.0 (#126431) 2024-09-22 18:04:19 +02:00
Erik Montnemery
cffa8b4feb
Update icons.json to new service schema part 2 (#124769) 2024-08-28 13:47:41 +02:00
epenet
51a5a78eb5
Standardize reauth step variable name in config flows (#124760) 2024-08-28 13:01:00 +02:00
Erik Montnemery
ea7e88d000
Pass None instead of empty dict when registering entity services (#123878) 2024-08-14 07:04:29 -05:00
David Knowles
85cbc2437c
Bump pydrawise to 2024.8.0 (#123461) 2024-08-09 17:25:25 +02:00
David Knowles
7820bcf218
Add entity services to the Hydrawise integration (#120883)
* Add services to the Hydrawise integration

* Add validation of duration ranges

* Remove clamping test

* Fix duration type in test

* Changes requested during review

* Add back the HydrawiseZoneBinarySensor class
2024-07-26 17:25:56 +02:00
David Knowles
72458d143d
Add valve support to Hydrawise (#116302) 2024-07-07 20:42:45 +02:00
Thomas Kistler
bff9d12cc0
Add active watering time sensor to Hydrawise (#120177) 2024-06-26 09:24:48 +02:00
Thomas Kistler
9718a9571e
Add @thomaskistler as an owner of hydrawise (#120477) 2024-06-26 02:11:52 +02:00
David Knowles
3b79ab6e18
Reduce the amount of data fetched in individual Hydrawise API calls (#120328) 2024-06-24 20:58:54 +02:00
Thomas Kistler
4aa7a9faee
Fix Hydrawise volume unit bug (#119988) 2024-06-21 09:07:14 +02:00
Pete Sage
528422d238
Address Hydrawise review (#119965)
adjust formatting
2024-06-19 20:37:26 +02:00
Thomas Kistler
2906fca40c
Update pydrawise to 2024.6.4 (#119868) 2024-06-18 10:26:31 +02:00
David Knowles
0ecab967dd
Bump pydrawise to 2024.6.3 (#118977) 2024-06-06 17:28:13 +02:00
Pete Sage
0d1fb1fc9f
Fix Hydrawise sensor availability (#118669)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-05 14:18:41 +02:00
David Knowles
ebe4888c21
Bump pydrawise to 2024.6.2 (#118608) 2024-06-03 19:29:20 +02:00
David Knowles
034197375c
Clean up some bad line wrapping in Hydrawise (#117671)
Fix some bad line wrapping
2024-05-18 10:26:22 +02:00
Thomas Kistler
14fcf7be8e
Add flow and rain sensor support to Hydrawise (#116303)
* Add flow and rain sensor support to Hydrawise

* Address comments

* Cleanup

* Review comments

* Address review comments

* Added tests

* Add icon translations

* Add snapshot tests

* Clean up binary sensor

* Mypy cleanup

* Another mypy error

* Reviewer feedback

* Clear next_cycle sensor when the value is unknown

* Reviewer feedback

* Reviewer feedback

* Remove assert

* Restructure switches, sensors, and binary sensors

* Reviewer feedback

* Reviewer feedback
2024-05-07 21:26:10 +02:00
David Knowles
67e199fb2f
Bump pydrawise to 2024.4.1 (#116449)
* Bump pydrawise to 2024.4.1

* Fix typing errors

* Use assert instead of cast

* Remove unused import
2024-05-02 07:56:27 +02:00
David Knowles
83b5ecb36f
Increase the Hydrawise refresh frequency from 120s to 30s (#116298) 2024-04-27 20:46:58 +02:00
David Knowles
3b678896d9
Remove platform schema from Hydrawise (#116032) 2024-04-23 18:08:07 +02:00
Thomas Kistler
b8f44fb722
Update Hydrawise from the legacy API to the new GraphQL API (#106904)
* Update Hydrawise from the legacy API to the new GraphQL API.

* Cleanup
2024-04-23 09:01:25 +02:00
David Knowles
2afaa3d333
Remove YAML support from Hydrawise (#115966) 2024-04-22 16:54:04 +02:00
Joost Lekkerkerker
761933acfe
Improve lists in integrations [G-H] (#113168) 2024-03-13 17:25:27 +01:00
David Knowles
08874354c7
Add missing translation placeholder in Hydrawise (#113007)
Add missing translation placeholder
2024-03-10 21:20:46 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
David Knowles
a253991c6d
Bump pydrawise to 2024.3.0 (#112066) 2024-03-02 22:00:50 -05:00
Joost Lekkerkerker
fd9e9ebf50
Add icon translations to Hydrawise (#111810) 2024-03-01 12:29:23 +01:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
David Knowles
8bf0466151
Bump pydrawise to 2024.2.0 (#111080) 2024-02-22 13:00:25 +01:00
Thomas Kistler
4b3a1b5d2d
Update pydrawise to 2024.1.0 (#107032) 2024-01-04 09:36:24 +01:00
David Knowles
6f339541c6
Fix Hydrawise data not refreshing (#105923)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-01-02 12:46:39 +01:00
David Knowles
7746a94543
Fix Hydrawise watering time duration unit (#105919)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-12-27 13:20:09 +01:00
David Knowles
0899be6d4b
Migrate Hydrawise to an async client library (#103636)
* Migrate Hydrawise to an async client library

* Changes requested during review

* Additional changes requested during review
2023-11-16 00:59:37 +01:00
David Knowles
1888311800
Hydrawise: Explicitly set switch state on toggle (#103827)
Explicitly set switch state on toggle
2023-11-12 23:09:08 +01:00
David Knowles
8e9528d34d
Bump pydrawise to 2023.11.0 (#103638) 2023-11-08 09:28:38 +01:00
David Knowles
f160fa4bc3
Make Hydrawise initialize data immediately (#101936) 2023-10-30 15:18:59 +01:00
Marc Mueller
8877cafe0c
Update pydrawise to 2023.10.0 (#101548) 2023-10-06 21:04:23 +02:00
David Knowles
96aba1c1a6
Add tests to Hydrawise (#101110)
* Add tests to Hydrawise

* Update tests/components/hydrawise/test_binary_sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Changes requested during review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-06 14:42:08 +02:00
David Knowles
73cfe659ea
Make Hydrawise compliant with new naming standards (#100921)
* Make Hydrawise compliant with new naming standards

* Update binary_sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-26 14:34:43 +02:00
David Knowles
8ba6fd7935
Add device info to Hydrawise (#100828)
* Add device info to Hydrawise

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Remove _attr_has_entity_name

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-26 09:15:20 +02:00
David Knowles
f8a8fe760d
Add config flow to Hydrawise (#95589)
* Add config flow to Hydrawise

* Raise an issue when a YAML config is detected

* Add a test for YAML import

* Add missing __init__.py

* Update CODEOWNERS

* Update requirements_test_all.txt

* Add config flow data to strings.json

* Hande scan_interval not being in YAML on import

* Fix requirements

* Update deprecation dates

* Update requirements_test_all.txt

* Changes from review

* Update homeassistant/components/hydrawise/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Add already_configured to strings.json

* Add back setup_platform functions

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Add back setup_platform

* Update requirements_test_all.txt

* Run black on hydrawise/*.py

* Add missing import of HOMEASSISTANT_DOMAIN

* Use more specific errors in config flow

* Add additional tests

* Update config flow to use pydrawise.legacy

* Re-work YAML deprecation issues

* Revert some changes to binary_sensor, as requested in review

* Changes requested during review

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Remove unused STE_USER_DATA_SCHEMA

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update comment in setup_platform

* Re-work the config flow again

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update tests

* Add back the _default_watering_timer attribute

* Bump deprecation dates

* Update requirements_test_all.txt

* Update CODEOWNERS

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-24 00:03:07 +02:00
David Knowles
0b95e4ac17
Fix the Hydrawise status sensor (#99271) 2023-09-06 16:51:27 +02:00
David Knowles
9476ade34a
Bump pydrawise to 2023.8.0 (#99270) 2023-08-29 15:43:27 +02:00
David Knowles
2542c5f259
Fix Hydrawise zone addressing (#97333) 2023-07-27 15:57:36 +02:00
David Knowles
cd1a99a15f
Bump pydrawise to 2023.7.1 (#97334) 2023-07-27 08:54:44 -05:00