Commit Graph

21 Commits (12c067970ac68c6beb092fc57214f689efba409d)

Author SHA1 Message Date
Aaron Bach 6dd72869a6
Make sure Guardian data storage conforms to standards () 2021-10-22 12:25:05 +02:00
epenet 8dfa628af0
Use DeviceInfo on components with via_device (A-G) ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:12:19 +02:00
Aaron Bach bf6d549910
Use EntityDescription - guardian () 2021-08-25 10:34:02 +02:00
Aaron Bach c04671ac64
Fix unhandled exception with Guardian paired sensor coordinators () 2021-07-28 22:16:14 -07:00
Franck Nijhof d4c4263730
Adjust typing of _attr_extra_state_attributes () 2021-07-27 01:25:22 +02:00
Aaron Bach 1bde914075
Ensure Guardian is strictly typed () 2021-07-21 23:01:05 -07:00
Marc Mueller f6b162bc39
Add pylint CodeStyle extension () 2021-07-19 06:57:06 -07:00
Aaron Bach 50d56fd755
Add missing type annotations to Guardian () 2021-07-07 17:39:34 -05:00
Aaron Bach 2f1af9a254
Remove unnecessary async_setup method for Guardian () 2021-07-06 20:19:41 +02:00
Aaron Bach 6fa312d476
Remove redundant property definitions in Guardian ()
* Remove redundant property definitions in Guardian

* Update incorrect attributes
2021-07-02 07:49:05 +02:00
Milan Meulemans 29d72714f3
Replace dict with DeviceInfo ()
* 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 a1fdf84dba
Reduce config entry setup/unload boilerplate G-J () 2021-04-27 16:09:59 +02:00
Marc Mueller 9e1a6610dc
Update typing 07 () 2021-03-18 08:02:55 +01:00
Erik Montnemery af4d06b12e
Update integrations f-i to override extra_state_attributes() () 2021-03-11 16:57:47 +01:00
Quentame 198ecb0945
Uniformize platform setup ()
* 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 3a59f7c2b7
Address cleanup commentary for Guardian Paired Sensors () 2020-10-13 22:01:10 +02:00
Aaron Bach bb98f7ed1b
Add support for Elexa Guardian paired sensors ()
* 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
Aaron Bach 0067b6a84d
Transition Guardian to use a DataUpdateCoordinator ()
* 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 () 2020-06-29 17:24:42 -07:00
Aaron Bach b0df223f5a
Bump aioguardian ()
* Bump aioguardian

* Fix tests
2020-06-27 23:16:42 -06:00
Aaron Bach 369745c4cf
Add support for Elexa Guardian water valve controllers ()
* 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