hass-core/tests/components/template
Petro31 f3007b22c4
Allow setting set_percentage and set_preset_mode of template fan without turning on ()
* 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 () 2022-05-13 09:46:49 -07:00
__init__.py
conftest.py Tweak template light tests () 2022-05-13 12:22:34 +02:00
test_alarm_control_panel.py Add trigger/arm_custom_bypass to Template Alarm Control Panel () 2022-07-07 20:31:03 +02:00
test_binary_sensor.py Restore attributes of template binary sensor () 2022-04-05 22:58:12 -07:00
test_button.py Adjust root-import in tests () 2022-09-19 15:22:23 +02:00
test_cover.py Support this variable in template cover actions () 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 () 2022-10-03 20:22:05 +02:00
test_init.py Move fixtures part 1 () 2021-11-01 20:47:05 -07:00
test_light.py Cleanup EntityFeature in tests () 2022-09-21 10:48:55 +02:00
test_lock.py Support this variable in template lock actions () 2022-05-13 09:33:25 -07:00
test_number.py Adjust root-import in tests () 2022-09-19 15:22:23 +02:00
test_select.py Adjust root-import in tests () 2022-09-19 15:22:23 +02:00
test_sensor.py Add this variable to trigger-based templates () 2022-06-27 08:59:29 +02:00
test_switch.py Support this variable in template switch actions () 2022-05-13 16:44:27 +02:00
test_template_entity.py Teach TemplateEntity entity name () 2022-01-24 15:44:05 +01:00
test_trigger.py Update template/test_trigger.py to use pytest () 2021-09-10 09:55:51 -07:00
test_vacuum.py Support this variable in template vacuum actions () 2022-05-13 09:32:19 -07:00
test_weather.py Move attribution attribute to Entity base class () 2021-10-11 23:15:32 +02:00