Alexei Chetroi
7d506bc38b
Use storage collections for input_select entity management ( #30604 )
...
* Refactor input_select to use _config dict.
* Use collections for input_select.
* Add tests.
* Move async_setup to top.
* Cleanup.
* async_write_ha_state()
* Update homeassistant/components/input_select/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
2020-01-11 11:37:57 -05:00
Franck Nijhof
52ed9608e2
Migrate input_* tests from coroutine to async/await ( #30336 )
2020-01-01 01:22:44 +01:00
Alexei Chetroi
454cc684e4
Add input_select reload service. ( #29647 )
...
* Add input_select reload service.
* Add test.
2019-12-09 21:15:32 +01:00
Bas Nijholt
14779ce3d0
Sort imports according to PEP8 for components starting with "I" ( #29769 )
2019-12-09 14:21:24 +01:00
Rolf K
8720ca38b5
Add improved scene support for input_select ( #27697 )
...
* Add improved scene support for input_select
* Add tests for reproducing input_select states.
* Add some comments.
* Add support for set_options
Allows defining the options for an input_select in a scene.
* Add tests for set_options in test_reproduce_state
* Execute for real instead of mock execution.
2019-10-15 16:15:42 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00