Commit graph

80 commits

Author SHA1 Message Date
Jan Bouwhuis
c7eab49c70
Raise ServiceValidationError on invalid select option (#106350)
* Raise ServiceValidationError on invalid select option

* Fix tests

* Correct place holders

* More test fixes
2023-12-27 09:45:55 +01:00
J. Nick Koston
43757ecea5
Add support for attribute caching to the select platform (#106255) 2023-12-23 08:05:00 -10:00
Erik Montnemery
104bcc64b7
Allow inheriting base component entity descriptions in frozen dataclasses (#105512)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-15 23:33:50 -10:00
Erik Montnemery
df73850f56
Move definition of attributes excluded from history to entity classes (#100430)
* Move definition of attributes excluded from history to entity classes

* Revert change which should be in a follow-up PR

* Fix sun unrecorded attributes

* Fix input_select unrecorded attributes
2023-09-21 15:02:47 +02:00
J. Nick Koston
cde1903e8b
Avoid multiple options and current_option lookups in select entites (#96630) 2023-07-16 06:22:36 -10:00
Franck Nijhof
7021daf9fb
Migrate select services to support translations (#96411)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 18:55:22 +02:00
Erik Montnemery
86a397720f
Move platform_integration_no_support issue to the homeassistant integration (#95927)
* Move platform_integration_no_support issue to the homeassistant integration

* Update test

* Improve repair text

* Update test
2023-07-07 13:31:54 +02:00
Erik Montnemery
4efe217d9b
Use entity registry id in select device actions (#95274) 2023-06-26 22:29:14 +02:00
Erik Montnemery
eb7ad2eb09
Use entity registry id in select device conditions (#95259) 2023-06-26 20:30:29 +02:00
Erik Montnemery
af97857c87
Teach select device trigger about entity registry ids (#94981) 2023-06-21 14:51:39 +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
6d3c3ff4fb
Add state translations for Select entities (#89995) 2023-03-21 12:45:06 +01:00
epenet
f2b736fad0
Adjust entity registry access in core platforms (#88944)
* Adjust entity registry access in platforms

* Adjust more core components
2023-03-01 08:02:16 +01:00
G Johansson
9008556457
Change name to entity_id Select platform error messages (#87962) 2023-02-12 22:54:04 +01:00
Erik Montnemery
5dfb9cddd6
Sort manifests 8 (#87029) 2023-02-08 20:13:46 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
f475446ebf [ci skip] Translation update 2023-02-06 00:23:07 +00:00
GitHub Action
3f992ed31d [ci skip] Translation update 2023-02-04 00:23:44 +00:00
Franck Nijhof
1409b89af3
Sync input_select & select (#87255) 2023-02-03 15:43:17 +01:00
GitHub Action
941f82b60c [ci skip] Translation update 2023-01-11 00:23:37 +00:00
GitHub Action
3ab9a14ce7 [ci skip] Translation update 2022-12-06 00:21:31 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
epenet
ca9bfc8b86
Add options to SelectEntityDescription (#78882) 2022-10-10 14:20:04 +02:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
GitHub Action
3875ce6c9e [ci skip] Translation update 2022-09-24 00:31:54 +00:00
epenet
64988521bb
Make use of generic EntityComponent (part 2) (#78494) 2022-09-17 18:18:53 +02:00
GitHub Action
ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
Marc Mueller
1ebac6c7ca
Use TriggerActionType [core, r-t] (#76807) 2022-08-15 17:40:16 +02:00
GitHub Action
7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action
cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action
5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
GitHub Action
cdaefc8fda [ci skip] Translation update 2022-07-09 00:20:23 +00:00
GitHub Action
4005af99aa [ci skip] Translation update 2022-06-14 00:26:59 +00:00
epenet
b10ee779f9
Adjust device_automation type hints in core platforms 3/3 (#72211) 2022-05-23 16:01:40 +02:00
Franck Nijhof
7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
J. Nick Koston
198f4a12f0
Exclude static select attributes from being recorded in the database (#69195) 2022-04-03 17:17:55 +02:00
GitHub Action
2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
a8fee4c2f6 [ci skip] Translation update 2022-01-09 00:15:18 +00:00
Marc Mueller
04e1933728
Use correct relative imports [n-z] (#63471) 2022-01-05 17:23:49 +01:00
Marc Mueller
048d8f9263
Add strict typing to core.py (6) - Implicit reexport (#63345) 2022-01-04 19:51:19 +01:00
GitHub Action
cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
Michael
90e52cd3ad
Use relative imports [S-Z] (#61576) 2021-12-13 09:39:13 +01:00
Erik Montnemery
0e3bc21d54
Teach state and numeric_state conditions about entity registry ids (#60841) 2021-12-02 14:55:12 -08:00
Erik Montnemery
c85bb27d0d
Teach state trigger about entity registry ids (#60271)
* Teach state trigger about entity registry ids

* Tweak

* Add tests

* Tweak tests

* Fix tests

* Resolve entity ids during config validation

* Update device_triggers

* Fix mistake

* Tweak trigger validator to ensure we don't modify the original config

* Add index from entry id to entry

* Update scaffold

* Pre-compile UUID regex

* Address review comment

* Tweak mock_registry

* Tweak

* Apply suggestion from code review
2021-12-02 14:26:45 +01:00
GitHub Action
2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
Erik Montnemery
caf5ee2fab
Remove optional validation when creating conditions (#60481) 2021-11-28 14:54:07 +01:00
GitHub Action
f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
GitHub Action
f00effaba2 [ci skip] Translation update 2021-11-13 00:11:56 +00:00