1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02:00
Commit Graph

50 Commits

Author SHA1 Message Date
Aaron Bach
d72b8a025f
Remove previously-deprecated RainMachine sensors (#81053) 2022-10-27 10:25:07 +02:00
shbatm
e9a3982560
Add additional sensors to RainMachine (#80914) 2022-10-25 08:07:31 -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
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
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
fbde347e64
Move RainMachine utils to the correct location (#76051)
* Move RainMachine utils to the correct location

* Imports
2022-08-03 22:24:55 +03:00
Aaron Bach
a499dfb8ff
Fix AssertionError in RainMachine (#75668) 2022-07-23 20:06:10 -06:00
Aaron Bach
a4d5ecb8ec
Migrate RainMachine to new entity naming style (#74754) 2022-07-10 21:27:01 +02:00
Aaron Bach
e6d115e765
Add time remaining sensors for RainMachine programs (#73878) 2022-06-29 09:27:34 -05:00
Aaron Bach
db0f089a2e
Fix bugs with RainMachine zone run time sensors (#73179) 2022-06-07 16:14:40 -07:00
Aaron Bach
a6f6f0ac5e
Fix unhandled exception when RainMachine coordinator data doesn't exist (#73055) 2022-06-05 15:33:27 -10: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
8e75547ca4
Guard against missing data in 1st generation RainMachine controllers (#72632) 2022-05-30 14:36:58 -07:00
Aaron Bach
6cf7973a49
Eliminate duplicated run state logic in RainMachine (#70009) 2022-04-13 12:26:30 -10:00
Aaron Bach
c7b5d7107f
Fix issue with relative time-based state updates in RainMachine zones (#69206)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-13 10:41:48 -10:00
Robert Hillis
d660d68c34
Use enums in rainmachine (#62058) 2021-12-16 08:36:16 -07:00
Aaron Bach
8bc10db0bb
Make sure RainMachine data storage conforms to standards (#57816) 2021-10-22 12:14:58 +02:00
Aaron Bach
745e42621b
Add entity categories for appropriate RainMachine entities (#58107) 2021-10-20 14:57:28 -07:00
Aaron Bach
0fe5baa425
Rework RainMachine entity ID generation (#58055) 2021-10-19 10:10:51 -10:00
J. Nick Koston
2edad82078
Fix order of arguments in rainmachine sensors (#57895) 2021-10-17 17:44:48 +02:00
Aaron Bach
f13eeee969
Add configuration URL to RainMachine (#57732) 2021-10-15 17:33:26 -10:00
Aaron Bach
2c348dd2d7
Add long-term statistics for RainMachine sensors (#55418)
* Add long-term statistics for RainMachine sensors

* Code review
2021-09-14 22:06:40 +02:00
Aaron Bach
6bc5c1c9af
Finish EntityDescription implementation for RainMachine (#55180) 2021-08-25 08:36:25 -06:00
Marc Mueller
8522538d8f
Use EntityDescription - rainmachine (#55021) 2021-08-23 12:23:35 -05:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) (#54476)
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
Erik Montnemery
1a74fd7a14
Set device_class on temperature sensors R-Z (#52920) 2021-07-12 18:53:52 +02: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
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 (#49921) 2021-04-30 20:38:59 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity (#48215) 2021-03-22 19:54:14 +01:00
Aaron Bach
bba7c15d79
Migrate RainMachine to DataUpdateCoordinator (#42530) 2020-11-06 10:58:50 +01:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
springstan
5a12056e59
Add and use volume cubic constants (#40106) 2020-09-15 19:59:26 +02:00
springstan
78d87dc40f
Use TEMP_CELSIUS constant (#33963) 2020-04-10 19:17:46 +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
0c49c8578b
Remove unnecessary awaits in RainMachine (#32884)
* Remove unnecessary awaits in RainMachine

* Cleanup
2020-03-17 07:00:54 -04: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
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
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations (#31025)
* Remove all empty *_setup_platform() from integrations

* Fix tests for smartthings

* Fix tests for heos
2020-01-21 12:38:38 +01:00
Aaron Bach
856db4d122
Fix incorrect Rainmachine dict lookups (#30550) 2020-01-07 10:43:12 -07:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling (#30500)
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Aaron Bach
729df112a7
Add RainMachine device classes where appropriate (#24682) 2019-06-21 17:12:28 -06:00
Aaron Bach
daa1d103d4 Add support for flow sensor metrics in RainMachine (#23221)
* Initial commit

* In the clear
2019-05-02 09:45:51 +02:00
Aaron Bach
05f267de6e
Update RainMachine sensors in parallel (#23057) 2019-04-12 17:44:04 -06:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements (#23024)
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea Clean up docstrings (#22679)
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations (#22235)
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Aaron Bach
d717d9f6be
Embed RainMachine platforms into the component (#20066)
* Embed RainMachine platforms into the component

* Updated CODEOWNERS

* Updated .coveragerc
2019-01-14 11:42:21 -07:00