Replace service_templates

This commit is contained in:
2021-05-17 00:22:49 +03:00
parent 6a4593b7b4
commit 8ad3116044
5 changed files with 7 additions and 7 deletions
@@ -45,7 +45,7 @@ input_number:
script:
toshiba_ac_toggle_cool:
sequence:
- service_template: >-
- service: >-
{% if is_state('climate.toshiba_ac', 'off') %}
script.toshiba_ac_on_cool
{% else %}
@@ -65,7 +65,7 @@ automation:
value_template: >
{{ trigger.payload_json.action == "on" }}
action:
- service_template: light.turn_on
- service: light.turn_on
data_template:
entity_id: >-
{% set groupId = (trigger.payload_json.action_group % 10) %}