core/tests/components/light
Alexei Chetroi ec038bc6ea
Allow any parameter of a light profile as an optional parameter (#44079)
* No code duplication for profile application

* Refactor color profile as a dataclass

* Typing

* Make color_x and color_y of a Light profile optional

* Update tests

* Make brightness field of a Light profile optional

* Transition can be of a float type

* Allow fractional transition times in light profiles

Make transition of a float type.
Allow transition to be optional with 5 column CSV files.

* Make pylint happy

* Fix dropped async_mock

* Simplify CSV row schema
2021-01-13 12:11:20 +01:00
..
__init__.py
common.py Fix light toggle service attributes (#35483) 2020-05-11 12:58:59 +02:00
conftest.py Allow any parameter of a light profile as an optional parameter (#44079) 2021-01-13 12:11:20 +01:00
test_device_action.py Add default config if not there (#43321) 2020-11-25 15:10:04 +01:00
test_device_condition.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_device_trigger.py Add default config if not there (#43321) 2020-11-25 15:10:04 +01:00
test_init.py Allow any parameter of a light profile as an optional parameter (#44079) 2021-01-13 12:11:20 +01:00
test_intent.py use isort to sort imports according to PEP8 for light (#29648) 2019-12-08 22:46:23 +05:30
test_reproduce_state.py Add transition support to scenes, cleanup blocking parameter (#34434) 2020-04-20 18:07:50 -07:00