Commit graph

56 commits

Author SHA1 Message Date
epenet
a9d12608bd
Move guardian base entity to separate module (#126486) 2024-09-23 12:49:24 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Aaron Bach
f0a63f7189
Move Guardian coordinator to suggested location (#108182)
* Move Guardian coordinator to suggested location

* Fix coverage
2024-01-16 15:38:20 -07:00
Aaron Bach
bc4c3bf9e7
Add valve platform to Guardian (#107423) 2024-01-10 13:03:18 -10:00
Aaron Bach
c96f9864c5
Remove leftover Guardian mixin (#107424) 2024-01-06 23:06:45 -07:00
Aaron Bach
50fbcaf20f
Streamline exception handling in Guardian (#107053) 2024-01-06 12:56:19 -10:00
Aaron Bach
4fa76801af
Re-architect Guardian to use better entity descriptions and properties (#107028)
* Re-architect Guardian to use better entity descriptions and properties

* Reduce blast area

* Code review

* Remove mixins
2024-01-03 22:17:12 -07:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Marc Mueller
d597cfec49
Improve decorator type annotations (#104821) 2023-11-30 18:45:18 +01:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery
2257e7454a
Remove unreferenced issues (#96264)
* Remove unreferenced issues

* Remove outdated tests
2023-07-11 14:15:16 -04:00
Aaron Bach
fbb406842e
Remove redundant Guardian handler unsub logic (#84905) 2022-12-31 11:17:37 +01:00
Aaron Bach
1967ce67d7
Remove previously-deprecated Guardian services and binary sensor (#81056) 2022-10-27 10:19:07 +02:00
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