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 Add config flow for platform number in Template (#121849) 2024-08-15 20:02:51 +02:00
__init__.py
conftest.py
test_alarm_control_panel.py
test_binary_sensor.py
test_button.py Add missing hass type hint in component tests (t) (#124274) 2024-08-20 12:55:39 +02:00
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 Don't allow templating min, max, step in config entry template number (#125342) 2024-09-06 07:59:22 +02:00
test_light.py Improve type hints in template tests (#123915) 2024-08-14 14:58:16 +02:00
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 Add missing hass type hint in component tests (t) (#124274) 2024-08-20 12:55:39 +02:00
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 Add missing hass type hint in component tests (t) (#124274) 2024-08-20 12:55:39 +02:00
test_weather.py