hass-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 Don't allow templating min, max, step in config entry template number (#125342) 2024-09-06 07:59:22 +02:00
alarm_control_panel.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
binary_sensor.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
button.py Fix UI config validation for button and switch actions in Template (#121810) 2024-09-08 13:59:54 +02:00
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 Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
fan.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
icons.json Update icons.json to new service schema part 4 (#124771) 2024-08-28 13:48:13 +02:00
image.py Add config flow for image platform in Template (#121648) 2024-07-10 23:49:24 +02:00
light.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
lock.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
manifest.json
number.py Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
select.py Add config flow for select platform in Template (#121809) 2024-07-12 17:50:02 +02:00
sensor.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
services.yaml
strings.json Add unit_of_measurement to template numbers (#122862) 2024-09-11 08:47:17 +02:00
switch.py Fix UI config validation for button and switch actions in Template (#121810) 2024-09-08 13:59:54 +02:00
template_entity.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
trigger.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
trigger_entity.py
vacuum.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00
weather.py Remove unnecessary assignment of Template.hass from template (#123773) 2024-08-13 11:54:36 +02:00