core/homeassistant/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
..
__init__.py
alarm_control_panel.py
binary_sensor.py
button.py
config.py Add condition to trigger template entities (#119689) 2024-09-11 09:36:49 +02:00
config_flow.py Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
const.py Add condition to trigger template entities (#119689) 2024-09-11 09:36:49 +02:00
coordinator.py Add condition to trigger template entities (#119689) 2024-09-11 09:36:49 +02:00
cover.py
fan.py
icons.json
image.py
light.py
lock.py
manifest.json
number.py Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
select.py
sensor.py
services.yaml
strings.json Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
switch.py
template_entity.py
trigger.py
trigger_entity.py
vacuum.py
weather.py