Commit Graph

41 Commits (727eccfec4a537e245227bc4c581480c4ec0a145)

Author SHA1 Message Date
Aaron Bach 08e6e27a3b
Remove deprecated Guardian services (scheduled for 2022.10.0) (#78663)
Remove deprecated Guardian services (schedule for 2022.10.0)
2022-09-17 16:09:40 -06:00
Aaron Bach 13d3f4c3b2
Replace Guardian `disable_ap` and `enable_ap` services with a switch (#75034)
* Starter buttons

* Ready to go

* Replace Guardian `disable_ap` and `enable_ap` services with a switch

* Clean up how actions are stored

* Make similar to buttons

* Remove service definitions

* Docstring

* Docstring

* flake8

* Add repairs item

* Add a repairs issue to notify of removed entity

* Add entity replacement strategy

* Fix repairs import

* Update deprecation version

* Remove breaking change

* Include future breaking change version

* Naming
2022-09-17 15:01:57 -06:00
Erik Montnemery c741d9d045
Update integrations to import issue_registry from helpers (#77305)
* Update integrations to import issue_registry from helpers

* Update tests
2022-08-25 15:33:05 +02:00
Aaron Bach dd109839b9
Provide slight speedup to Guardian device lookup during service call (#77004)
* Provide slight speedup to Guardian device lookup during service call

* Messages
2022-08-19 09:39:48 +02:00
Aaron Bach e0d8f0cc95
Add persistent repair items for deprecated Guardian services (#76312)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-08-11 00:18:11 +02:00
Aaron Bach a3bffdf523
Appropriately mark Guardian entities as `unavailable` during reboot (#75234) 2022-07-31 13:10:29 -07:00
Aaron Bach b0261dd2eb
Modify Guardian to store a single dataclass in `hass.data` (#75454)
* Modify Guardian to store a single dataclass in `hass.data`

* Clarity is better

* Allow entry unload to cancel task
2022-07-21 20:32:42 -06:00
Aaron Bach b3ef6f4d04
Simplify Guardian entity inheritance hierarchy (#75274) 2022-07-18 09:18:07 -06:00
Aaron Bach b54fe14a10
Replace Guardian `reboot` and `reset_valve_diagnostics` services with buttons (#75028) 2022-07-12 12:53:21 -06:00
Aaron Bach ae4f2a0e34
Fix incorrect new entity naming for Guardian (#74912) 2022-07-10 21:37:14 +02:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Aaron Bach 825e696d26
Migrate Guardian to new entity naming style (#74745) 2022-07-09 16:42:32 +02:00
Franck Nijhof c3d19f3827
Clean up accessing device_registry helpers via hass (#72031) 2022-05-17 12:22:15 -07:00
Aaron Bach 8d2fac09bb
Remove deprecated Guardian `entity_id` service parameter (#65484) 2022-02-03 17:19:06 +01:00
Aaron Bach 443003795b
Replace Guardian logged errors with HomeAssistantError in service handlers (#62342) 2021-12-19 22:14:08 +01:00
Aaron Bach 4aa7f36a53
Deprecate `entity_id` parameter in Guardian service calls (#61129) 2021-12-06 15:23:03 -08:00
Marc Mueller cd1b923e16
Use platform enum (2) [E-G] (#60933) 2021-12-04 13:26:40 +01:00
Aaron Bach 3f2519bedf
Reorganize Guardian services (#58632) 2021-12-02 09:47:15 -10:00
Aaron Bach 5694250445
Perform some Guardian code cleanup (#58861) 2021-11-14 19:07:34 +01:00
Robert Hillis 63646a19cc
Use DeviceInfo Class F-G (#58255) 2021-10-23 12:01:21 +02:00
Aaron Bach 6dd72869a6
Make sure Guardian data storage conforms to standards (#57809) 2021-10-22 12:25:05 +02:00
epenet 8dfa628af0
Use DeviceInfo on components with via_device (A-G) (#58210)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:12:19 +02:00
Aaron Bach bf6d549910
Use EntityDescription - guardian (#55118) 2021-08-25 10:34:02 +02:00
Aaron Bach c04671ac64
Fix unhandled exception with Guardian paired sensor coordinators (#53663) 2021-07-28 22:16:14 -07:00
Franck Nijhof d4c4263730
Adjust typing of _attr_extra_state_attributes (#53529) 2021-07-27 01:25:22 +02: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 50d56fd755
Add missing type annotations to Guardian (#52598) 2021-07-07 17:39:34 -05:00
Aaron Bach 2f1af9a254
Remove unnecessary async_setup method for Guardian (#52597) 2021-07-06 20:19:41 +02: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
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 a1fdf84dba
Reduce config entry setup/unload boilerplate G-J (#49737) 2021-04-27 16:09:59 +02:00
Marc Mueller 9e1a6610dc
Update typing 07 (#48057) 2021-03-18 08:02:55 +01:00
Erik Montnemery af4d06b12e
Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +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 3a59f7c2b7
Address cleanup commentary for Guardian Paired Sensors (#41785) 2020-10-13 22:01:10 +02: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
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 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