Commit graph

23 commits

Author SHA1 Message Date
J. Nick Koston
a50883d975
Run service call tasks eagerly () 2024-03-08 20:37:21 -10:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
Joakim Sørensen
6da82cf07e
Use supported_features_compat in update.install service () 2024-01-05 10:38:54 +01:00
J. Nick Koston
4b6aaf6254
Update platform back-compat for custom components without UpdateEntityFeature () 2023-12-28 14:10:26 -10:00
J. Nick Koston
5156a93b9e
Add support for attribute caching to the update platform () 2023-12-23 10:29:55 +01:00
Erik Montnemery
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ()
Revert "Cache entity properties that are never expected to change in the base class ()"

This reverts commit 042776ebb8.
2023-09-15 11:25:24 +02:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class () 2023-09-14 17:48:48 -05:00
Robert Resch
790523126e
Name unnamed update entities by their device class () 2023-08-18 13:40:35 +02:00
Erik Montnemery
4085c4f6d8
Tweak typing of Entity.platform ()
* Tweak typing of Entity.platform

* Fix mypy errors

* Fix update test

* Improve comments
2023-06-09 10:56:04 +02:00
epenet
71dc98a39c
Improve hass_ws_client type hint in tests () 2023-03-14 16:31:40 +01:00
G Johansson
8c00f435a6
Change name to entity_id update platform error messages () 2023-02-12 22:18:09 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
d65e12ab6e
Add clear_skipped service to update entity () 2022-04-19 16:11:16 +02:00
Franck Nijhof
b644e7ed0f
Set brand icon as entity picture on update entities ()
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-04-03 20:38:05 +02:00
Franck Nijhof
c31e788439
Rename current_version to installed_version in Update platform () 2022-04-01 20:11:17 +02:00
Joakim Sørensen
a81194cdd7
Add auto_update property to UpdateEntity () 2022-04-01 12:56:58 +02:00
Joakim Sørensen
6d168d2672
Do not mark downgrades as updates () 2022-03-30 09:34:29 -07:00
Joakim Sørensen
9a150c2234
Add release_notes method to update entities () 2022-03-29 17:38:56 -07:00
Franck Nijhof
44d3a7e459
Adjust backup type of Update entity () 2022-03-23 11:20:04 +01:00
Franck Nijhof
2424564d2c
Change update default entity category based on features () 2022-03-21 14:35:40 +01:00
Franck Nijhof
073fb40b79
Add update entity platform ()
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-21 11:02:48 +01:00
Joakim Sørensen
6b3b21bcfd
Revert "Add update integration ()" () 2022-03-07 15:52:15 -08:00
Joakim Sørensen
1a78e18eeb
Add update integration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-03 08:27:09 -08:00