Commit Graph

19 Commits (8eb33ede432a4defc832db9ec7f95e279b860ee9)

Author SHA1 Message Date
Aaron Bach 3f2519bedf
Reorganize Guardian services (#58632) 2021-12-02 09:47:15 -10:00
Aaron Bach 6dd72869a6
Make sure Guardian data storage conforms to standards (#57809) 2021-10-22 12:25:05 +02:00
Aaron Bach bf6d549910
Use EntityDescription - guardian (#55118) 2021-08-25 10:34:02 +02:00
Ville Skyttä de6e7ea016
Replace *args and **kwargs type hint collections with value types (#54955) 2021-08-21 10:20:09 +03:00
Aaron Bach 1bde914075
Ensure Guardian is strictly typed (#53253) 2021-07-21 23:01:05 -07:00
Marc Mueller f6b162bc39
Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Aaron Bach 6fa312d476
Remove redundant property definitions in Guardian (#52361)
* Remove redundant property definitions in Guardian

* Update incorrect attributes
2021-07-02 07:49:05 +02:00
Michael b1138b1aab
Add constructor return type in integrations E-K (#50902) 2021-05-20 18:47:30 +03:00
Franck Nijhof 2ed386f9e6
Migrate to async_get_current_platform everywhere (#50034) 2021-05-03 09:34:28 -07:00
Ruslan Sayfutdinov 0301706fc6
Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
Marc Mueller 9e1a6610dc
Update typing 07 (#48057) 2021-03-18 08:02:55 +01:00
Aaron Bach bb98f7ed1b
Add support for Elexa Guardian paired sensors (#37930)
* Add support for Guardian paired sensors

* More work

* OOP

* More OOP

* Binary sensors looking good

* Entities all in place

* Looking good

* Linting

* Code review

* Code review

* Flake

* Fix removal

* Code review

* Linting

* Don't use potentially confusing method name

* Use CoordinatorEntity

* Linting

* Pylint

* Code review

* Code review
2020-10-12 21:41:57 -06:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Aaron Bach 5f36023b9e
Actually fix Guardian entity services (#37700)
* Actually fix Guardian entity services

* Bump aioguardian

* Remove upgrade_firmware defaults
2020-07-09 20:52:13 -06:00
Aaron Bach 0067b6a84d
Transition Guardian to use a DataUpdateCoordinator (#37380)
* Migrate Guardian to use the DataUpdateCoordinator

* Finish work

* Cleanup

* Don't use UpdateFailed error

* Code cleanup

* Code cleanup

* Remove unnecessary change

* Code review

* Code review

* Use a subclass of DataUpdateCoordinator

* Make sure to pop client upon unload

* Adjust coverage
2020-07-05 16:09:40 -06:00
Aaron Bach 856f8fd6de
Move Guardian services to entity platform services (#37189) 2020-06-29 17:24:42 -07:00
Aaron Bach b0df223f5a
Bump aioguardian (#37188)
* Bump aioguardian

* Fix tests
2020-06-27 23:16:42 -06:00
Aaron Bach 3a2d4ac7fa
Add optimistic Guardian switch updating (#37141) 2020-06-26 10:19:38 -06:00
Aaron Bach 369745c4cf
Add support for Elexa Guardian water valve controllers (#34627)
* Add support for Elexa Guardian water valve controllers

* Zeroconf + cleanup

* Sensors and services

* API registration

* Service bug fixes

* Fix bug in cleanup

* Tests and coverage

* Fix incorrect service description

* Bump aioguardian

* Bump aioguardian to 0.2.2

* Bump aioguardian to 0.2.3

* Proper entity inheritance

* Give device a proper name

* Code review
2020-05-26 08:47:25 -05:00