Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE

This commit is contained in:
ccostan
2020-09-26 10:52:45 -04:00
parent 5ca2927919
commit b17be0e2f1
74 changed files with 171 additions and 170 deletions

View File

@@ -36,7 +36,7 @@ automation:
action:
- service: light.turn_on
entity_id: light.justin_go
data_template:
data:
color_name: >
{% if states.sensor.bear_stone.state|int == 1 %}
gold
@@ -48,7 +48,7 @@ automation:
red
{% endif %}
- service_template: >
- service: >
{% if states.sensor.bear_stone.state|int > 0 %}
light.turn_on
{% else %}