90 Commits
Author SHA1 Message Date
Marc Mueller e170681016 Improve DataUpdateCoordinator typing in integrations (3) (#84657) 2022-12-27 22:49:23 +01:00
shbatm e785d04abf Add RainMachine config option to use default run times from app (#80984) 2022-10-26 22:27:08 -06:00
shbatm ac4645a37e Add "Push Flow Meter Data" service to RainMachine and bump regenmaschine to 2022.10.0 (#80890) 2022-10-24 13:39:37 -06:00
Aaron Bach 21b91f75ba Bump regenmaschine to 2022.09.2 (#79010)
* Bump `regenmaschine` to 2022.09.2

* Fix tests

* Restore incorrectly-deleted test
2022-09-23 13:46:25 -06:00
Aaron Bach 48744bfd68 Replace RainMachine freeze protection temperature sensor with a select (#76484)
* Migrate two RainMachine binary sensors to config-category switches

* Removal

* Replace RainMachine freeze protection temperature sensor with a select

* Fix CI

* Show options in current unit system

* Have message include what entity is replacing this sensor

* Don't define a method for every dataclass instance

* Add issue registry through helper

* Breaking change -> deprecation

* Naming

* Translations

* Remove extraneous list

* Don't swallow exception

* Don't be prematurely defensive

* Better Repairs instructions
2022-09-22 13:19:33 -06:00
Aaron Bach fa245e24f8 Fix bug wherein RainMachine services use the wrong controller (#78780) 2022-09-21 13:34:04 -04:00
Aaron Bachandepenet 9fc9d50e07 Fix bug with 1st gen RainMachine controllers and unknown API calls (#78070)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-08 16:41:09 -04:00
Aaron Bach c3305caabe Provide slight speedup to RainMachine device lookup during service call (#76944)
Fix
2022-08-19 10:41:33 +02:00
Aaron Bach acbeb8c881 Bump regenmaschine to 2022.08.0 (#76483) 2022-08-08 14:53:27 -06:00
Aaron Bach ceecab9559 Add update entity to RainMachine (#76100)
* Add update entity to RainMachine

* Fix tests

* Cleanup

* Test missing controller diagnostics

* Code review
2022-08-07 15:21:49 -06:00
Aaron Bach 9552250f36 Fix bug where RainMachine entity states don't populate on startup (#76412) 2022-08-07 13:44:50 -06:00
Aaron Bach 3d42c4ca87 Add reboot button to RainMachine (#75227) 2022-08-04 13:22:10 -06:00
Aaron Bach 847f150a78 Modify RainMachine to store a single dataclass in hass.data (#75460)
* Modify RainMachine to store a single dataclass in `hass.data`

* Pass one object around instead of multiple
2022-08-03 16:23:42 -06:00
Aaron Bach a4d5ecb8ec Migrate RainMachine to new entity naming style (#74754) 2022-07-10 21:27:01 +02:00
J. Nick Koston cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Aaron Bach 0cca086aab Bump regenmaschine to 2022.07.0 (#74680) 2022-07-08 14:18:40 -07:00
Aaron Bach a3e1b285cf Alter RainMachine to not create entities if the underlying data is missing (#72733) 2022-05-31 13:09:07 -06:00
Aaron Bach ff4ad8ddf8 Add restrict_watering and unrestrict_watering services to RainMachine (#64219) 2022-01-19 11:58:15 -07:00
Franck Nijhof eb5a321a9f Mark removed config schemas as removed (#61014) 2021-12-21 12:46:10 +01:00
Aaron Bach 1b17c295d6 Use migration helper in RainMachine (#62328) 2021-12-19 20:17:31 +01:00
Marc Mueller 79cd281c48 Use platform enum (5) [P-R] (#60943) 2021-12-04 13:19:49 +01:00
Aaron Bach 344cd0d71f Only unload RainMachine services if the last config entry is loaded (#60805) 2021-12-01 16:59:33 -07:00
Aaron Bach 0e4de42539 Alter RainMachine to enable/disable program/zones via separate switches (#59617) 2021-11-22 20:47:01 -07:00
Aaron Bach 568df3d972 Perform some RainMachine code cleanup (#58865) 2021-11-14 19:05:38 +01:00
J. Nick Koston f619a8e4a0 Reduce rainmachine intervals to avoid device overload (#58319) 2021-10-28 22:44:28 +02:00
Aaron Bach 2b7fe06b16 Fix incorrect RainMachine service helper (#58633) 2021-10-28 22:29:25 +02:00
epenetandepenet f6ffae9e10 Use DeviceInfo on components with configuration_url (#58223)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:40:13 +02:00
Aaron Bach 8bc10db0bb Make sure RainMachine data storage conforms to standards (#57816) 2021-10-22 12:14:58 +02:00
Aaron Bach 0fe5baa425 Rework RainMachine entity ID generation (#58055) 2021-10-19 10:10:51 -10:00
Aaron Bach f13eeee969 Add configuration URL to RainMachine (#57732) 2021-10-15 17:33:26 -10:00
shbatm fb18c108d1 Add service to Rainmachine to push weather data from Home Assistant (#57354) 2021-10-12 07:40:46 -06:00
Aaron Bach 0364405595 Reorganize RainMachine services (#57145)
* Reorganize RainMachine services

* Code review

* Ensure integration services aren't tied to a particular config entry

* Cleanup

* linting

* Code review

* Code review

* Code review

* Code review
2021-10-08 20:03:47 +02:00
J. Nick Koston 2b7cdb70a8 Ensure rainmachine device name is a string (#56121) 2021-09-11 21:38:34 -06:00
Aaron Bach 6bc5c1c9af Finish EntityDescription implementation for RainMachine (#55180) 2021-08-25 08:36:25 -06:00
Aaron Bach a6b34924be Enforce strict typing for RainMachine (#53414) 2021-07-27 10:45:44 +02:00
Marc Mueller f6b162bc39 Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Aaron Bach 8c0559cc57 Remove redundant property definitions in RainMachine (#52456)
* Remove redundant property definitions in RainMachine

* Incorrect attribute name
2021-07-03 11:23:52 -05:00
J. Nick Koston 34320ef617 Include mac address in rainmachine device info (#50438) 2021-05-10 22:06:49 -07:00
J. Nick KostonandPaulus Schoutsen ce692afead Add rainmachine discovery (#49970)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-06 09:50:28 -05:00
Milan MeulemansandMartin Hjelmare 29d72714f3 Replace dict with DeviceInfo (#49950)
* Replace dict with DeviceInfo

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
J. Nick Koston 87420627a8 Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
Erik Montnemery 14ff6d4d1f Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
Quentame 198ecb0945 Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Aaron Bach 7657a5c901 Move RainMachine services to entity services (#44139) 2021-01-04 20:01:14 +01:00
Aaron Bach ae596c7dff Fix bug in unloading RainMachine options listener (#44359)
* Fix bug in unloading RainMachine options listener

* Order
2020-12-18 12:28:18 -07:00
Paulus Schoutsen 594e905742 Remove invalidation_version from deprecated (#44156)
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases

* Revert change to ZHA
2020-12-12 22:24:16 +01:00
Aaron Bach bba7c15d79 Migrate RainMachine to DataUpdateCoordinator (#42530) 2020-11-06 10:58:50 +01:00
Aaron Bach 31518937c0 Cleanup RainMachine (#42544) 2020-10-29 00:52:15 +01:00
Aaron Bach e61e8fafee Add options flow to RainMachine (#42241)
* Add options flow to RainMachine

* Linting
2020-10-28 15:52:42 -06:00
Aaron Bach 536f1186b0 Remove remnants of configurable RainMachine scan interval (#42239)
* Remove remnants of configurable RainMachine scan interval

* Clean up tests

* Cleanup
2020-10-22 21:32:04 -05:00