51 Commits
Author SHA1 Message Date
Erik Montnemery 4085c4f6d8 Tweak typing of Entity.platform (#88321)
* Tweak typing of Entity.platform

* Fix mypy errors

* Fix update test

* Improve comments
2023-06-09 10:56:04 +02:00
G Johansson c6feb30c31 Raise issue "does not support platform setup" (#93585)
* Raise issue on platform missing

* Modify issue

* Remove deprecation

* Fix strings

* Strings

* Last strings

* strings to common
2023-05-28 21:53:32 +02:00
Franck Nijhof f9919bb7cf Add pre-defined entity name translations (#89792) 2023-03-16 21:10:20 +01:00
G Johansson 8c00f435a6 Change name to entity_id update platform error messages (#87960) 2023-02-12 22:18:09 +01:00
Erik Montnemery cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery b0b1d8143f Sort manifests 10 (#87031) 2023-02-08 20:41:50 +01:00
Franck NijhofandErik Montnemery 939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Shay Levy 857df05308 Add Shelly Gen2 update entity for sleeping devices (#86837) 2023-01-30 19:05:13 +02:00
Franck Nijhof cf5fca0464 Code styling tweaks to core entity components (#85460) 2023-01-08 13:40:08 -10:00
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
Franck Nijhof 91cf2e2792 Remove str from update device class (#83399) 2022-12-06 14:50:19 +01:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
epenet ab26ea06b9 Enforce UpdateEntityFeature (#82465) 2022-11-22 07:16:53 +01:00
epenet 3be750812d Adjust type hints for UpdateEntityFeature (#82268) 2022-11-17 15:17:50 +01:00
epenet a91abebea8 Use IntFlag for EntityFeature (#81903) 2022-11-16 12:43:17 +01:00
GitHub Action eac1a1e513 [ci skip] Translation update 2022-10-11 00:31:56 +00:00
Franck Nijhof 2b27cfdabb Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
epenet 19ea95a6e4 Enable disallow-any-generics in update (#78501) 2022-09-15 11:29:11 +02:00
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
Marc Mueller 453cbc3e14 Use TriggerActionType [core, t-z] (#76808) 2022-08-15 18:15:20 +02:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action f11fbf2989 [ci skip] Translation update 2022-08-08 00:22:41 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
epenet b10ee779f9 Adjust device_automation type hints in core platforms 3/3 (#72211) 2022-05-23 16:01:40 +02:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Franck Nijhof f84c33203b Fix update entity not sticking with skipped version (#70779) 2022-04-26 07:50:32 -07:00
Franck Nijhof d65e12ab6e Add clear_skipped service to update entity (#70116) 2022-04-19 16:11:16 +02:00
Franck Nijhof c0e9cfedfb Add device trigger support to Update entity (#69395) 2022-04-06 08:50:21 -07:00
J. Nick Koston 1a9420dda0 Try exact match first for update state (#69335)
- Exact matches are much cheaper than creating an AwesomeVersion
  and calling the __gt__ method, and since most of the time the
  result is expected to be off, we want to optimize for this case
2022-04-05 15:51:25 +02:00
Franck Nijhof 14a19aea03 Exclude update entity picture attribute from recorder (#69201) 2022-04-03 21:41:51 +02:00
Franck NijhofandJoakim Sørensen b644e7ed0f Set brand icon as entity picture on update entities (#69200)
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 (#69093) 2022-04-01 20:11:17 +02:00
Joakim Sørensen a81194cdd7 Add auto_update property to UpdateEntity (#69054) 2022-04-01 12:56:58 +02:00
Paulus SchoutsenandFranck Nijhof 130ca2213f Enforce EntityCategory enum (#69015)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 15:04:33 -07:00
J. Nick KostonandJoakim Sørensen 185aa025ac Exclude large and chatty attributes from being recorded for update entities (#68940)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-03-31 14:28:19 +02:00
Joakim Sørensen 6d168d2672 Do not mark downgrades as updates (#68893) 2022-03-30 09:34:29 -07:00
Joakim Sørensen 9a150c2234 Add release_notes method to update entities (#68842) 2022-03-29 17:38:56 -07:00
Franck Nijhof 44d3a7e459 Adjust backup type of Update entity (#68553) 2022-03-23 11:20:04 +01:00
Franck Nijhof 2424564d2c Change update default entity category based on features (#68455) 2022-03-21 14:35:40 +01:00
Franck NijhofandGlenn Waters 073fb40b79 Add update entity platform (#68248)
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-21 11:02:48 +01:00
GitHub Action dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00:00
GitHub Action d0afc31063 [ci skip] Translation update 2022-03-10 00:17:10 +00:00
GitHub Action c374435282 [ci skip] Translation update 2022-03-08 00:18:11 +00:00
Joakim Sørensen 6b3b21bcfd Revert "Add update integration (#66552)" (#67641) 2022-03-07 15:52:15 -08:00
GitHub Action 2957f4ce85 [ci skip] Translation update 2022-03-07 00:18:40 +00:00
GitHub Action f5d25eaf8f [ci skip] Translation update 2022-03-06 00:18:25 +00:00
GitHub Action acd906dfab [ci skip] Translation update 2022-03-05 00:19:17 +00:00
GitHub Action 2242b023d3 [ci skip] Translation update 2022-03-04 00:21:35 +00:00