Jan-Philipp Benecke
8d6d70d6b5
Use setup_test_component_platform
helper for select entity component tests instead of hass.components
( #114412 )
...
* Use `setup_test_component_platform` helper for select entity component tests instead of `hass.components`
* Use _values instead of _attr_current_option
* Clean up
* Set default current_option for second mock entity
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-29 14:36:33 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
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
epenet
80ee196fd8
Add type hints to integration tests (part 19) ( #88178 )
2023-02-15 18:07:40 +01:00
Franck Nijhof
1409b89af3
Sync input_select & select ( #87255 )
2023-02-03 15:43:17 +01: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
054ca1d7ec
Add Select entity component platform ( #51849 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-18 11:51:55 +02:00