core/tests/components/template
Petro31 f3007b22c4
Allow setting set_percentage and set_preset_mode of template fan without turning on (#75656)
* decouple set_percentage and set_preset_mode from entity state

* correct set_percent self._state logic

* Add tests

* remove _VALUD_STATES

* decouple percent and preset_mode
2022-10-03 20:22:05 +02:00
..
fixtures
__init__.py
conftest.py
test_alarm_control_panel.py
test_binary_sensor.py
test_button.py Adjust root-import in tests (#78761) 2022-09-19 15:22:23 +02:00
test_cover.py
test_fan.py Allow setting set_percentage and set_preset_mode of template fan without turning on (#75656) 2022-10-03 20:22:05 +02:00
test_init.py
test_light.py Cleanup EntityFeature in tests (#78859) 2022-09-21 10:48:55 +02:00
test_lock.py
test_number.py Adjust root-import in tests (#78761) 2022-09-19 15:22:23 +02:00
test_select.py Adjust root-import in tests (#78761) 2022-09-19 15:22:23 +02:00
test_sensor.py
test_switch.py
test_template_entity.py
test_trigger.py
test_vacuum.py
test_weather.py