hass-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 Fail template functions when no default specified (#71687) 2022-05-13 09:46:49 -07:00
__init__.py
conftest.py Tweak template light tests (#71729) 2022-05-13 12:22:34 +02:00
test_alarm_control_panel.py Add trigger/arm_custom_bypass to Template Alarm Control Panel (#74629) 2022-07-07 20:31:03 +02:00
test_binary_sensor.py Restore attributes of template binary sensor (#69350) 2022-04-05 22:58:12 -07:00
test_button.py Adjust root-import in tests (#78761) 2022-09-19 15:22:23 +02:00
test_cover.py Support this variable in template cover actions (#71793) 2022-05-13 09:34:00 -07:00
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 Support this variable in template lock actions (#71796) 2022-05-13 09:33:25 -07:00
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 Add this variable to trigger-based templates (#72437) 2022-06-27 08:59:29 +02:00
test_switch.py Support this variable in template switch actions (#71799) 2022-05-13 16:44:27 +02:00
test_template_entity.py
test_trigger.py
test_vacuum.py Support this variable in template vacuum actions (#71800) 2022-05-13 09:32:19 -07:00
test_weather.py