hass-core/tests/components/template
chammp b3377fe5fb
Add condition to trigger template entities (#119689)
* Add conditions to trigger template entities

* Add tests

* Fix ruff error

* Ruff

* Apply suggestions from code review

* Deduplicate

* Tweak name used in debug message

* Add and improve type annotations of modified code

* Adjust typing

* Adjust typing

* Add typing and remove unused parameter

* Adjust typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Adjust return type

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-11 09:36:49 +02:00
..
fixtures
snapshots
__init__.py
conftest.py
test_alarm_control_panel.py
test_binary_sensor.py
test_button.py
test_config_flow.py Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
test_cover.py Add alias to DOMAIN import in tests [n-z] (#125581) 2024-09-09 15:14:05 +02:00
test_fan.py Add alias to DOMAIN import in tests [n-z] (#125581) 2024-09-09 15:14:05 +02:00
test_image.py
test_init.py
test_light.py
test_lock.py
test_manual_trigger_entity.py
test_number.py Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
test_select.py
test_sensor.py Add condition to trigger template entities (#119689) 2024-09-11 09:36:49 +02:00
test_switch.py
test_template_entity.py
test_trigger.py
test_vacuum.py
test_weather.py