Commit graph

12 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
G Johansson
9008556457
Change name to entity_id Select platform error messages (#87962) 2023-02-12 22:54:04 +01:00
Franck Nijhof
1409b89af3
Sync input_select & select (#87255) 2023-02-03 15:43:17 +01:00
epenet
ca9bfc8b86
Add options to SelectEntityDescription (#78882) 2022-10-10 14:20:04 +02:00
epenet
64988521bb
Make use of generic EntityComponent (part 2) (#78494) 2022-09-17 18:18:53 +02:00
Jan Bouwhuis
8299d0a7c3
Validate Select option before calling entity method (#52352)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-04 11:12:42 +02:00
Franck Nijhof
0b44265232
Add description classes to entity components (#53521)
* Add description classes to entity components

* An -> A

* Add StateVacuumEntityDescription
2021-07-27 00:22:21 +02:00
Franck Nijhof
054ca1d7ec
Add Select entity component platform (#51849)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-18 11:51:55 +02:00