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
epenet
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 Koston
ce692afead
Add rainmachine discovery ( #49970 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-06 09:50:28 -05:00
Milan Meulemans
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
Aaron Bach
74a1b75919
Deprecate YAML config for RainMachine (0.119 removal) ( #41971 )
2020-10-16 16:35:13 -05:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Aaron Bach
4cceb4ad0a
Bump regenmaschine to 2.1.0 ( #38649 )
2020-08-07 18:01:55 -06:00
springstan
b2af1de273
Improve string formatting v9 ( #34050 )
...
* Improve string formatting v9
* Address review comments
2020-04-12 17:18:09 +02:00
Aaron Bach
f53dfc4308
Don't reinvent callback handler removal logic in several integ… ( #33726 )
2020-04-05 22:36:23 -07:00
Franck Nijhof
e8a0abd107
String formatting improvements ( #33635 )
...
* String formatting improvements
* Found another one
2020-04-04 18:21:14 +02:00
Aaron Bach
d8e3e9abaa
Fix RainMachine not properly storing data in the config entry ( #33002 )
...
* Fix bug related to RainMachine's default config flow
* A
* Fix tests
* Code review
2020-03-19 20:54:41 -07:00
Aaron Bach
0c49c8578b
Remove unnecessary awaits in RainMachine ( #32884 )
...
* Remove unnecessary awaits in RainMachine
* Cleanup
2020-03-17 07:00:54 -04:00
Aaron Bach
75f465bf7e
Remove unused RainMachine config flow function ( #32165 )
...
* Remove unused RainMachine config flow function
* Remove test we don't need
* Code review comments
* Linting
2020-02-24 22:01:55 -07:00
Aaron Bach
6b0d7c77f0
Clean up RainMachine config entry data ( #32132 )
2020-02-24 13:07:18 -07:00
Aaron Bach
ac2172333c
Use non-deprecated method of instantiating RainMachine client ( #31149 )
2020-01-26 18:01:59 -07:00
Aaron Bach
4c4f726323
Refactor RainMachine switch platform ( #31148 )
...
* Import constants sanely
* Linting
* Rename data constants for consistency
* Refactor RainMachine switch platform
* Comments
* Cleanup
* Refactor switch and sensor API calls to be separate
* Linting
* Make sure zones are updated in appropriate service calls
* Correctly decrement
* Linting
* Don't do weird inheritance
* Ensure service calls update data properly
* Docstring
* Docstring
* Errors can be logged without string conversion
* Code review comments
2020-01-25 20:27:35 -07:00
Aaron Bach
a007835293
Fix RainMachine update action ( #31147 )
2020-01-24 23:42:59 -07:00
Aaron Bach
550aa6a0a5
Add smarter API usage for RainMachine ( #31115 )
...
* Make RainMachine smarter with API usage
* Remove debug statements
* Fix deregistration
* Code review comments
* Code review
* Use an asyncio.Lock
* Remove unnecessary guard clause
* Ensure registation lock per API category
2020-01-24 21:31:14 -08:00
Aaron Bach
73a55825af
Remove monitored conditions from RainMachine ( #31066 )
...
* Remove monitored conditions from RainMachine
* Migrate config entry
* Revert "Migrate config entry"
This reverts commit 84fcf5120f
.
* Code review comments
* Disable some entities by default
2020-01-22 20:49:47 -08:00
springstan
d9661b408b
Move imports to top for rainmachine ( #29472 )
2019-12-04 21:12:44 -08:00
Aaron Bach
3f2c344e4f
Add small speed improvement when unloading RainMachine ( #28759 )
2019-11-13 14:27:42 -07:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00