Fix radiator btn entity id

This commit is contained in:
2020-12-08 10:40:40 +02:00
parent dcca6207ac
commit 505341c0e7
@@ -3,8 +3,8 @@ radiator_button:
name: "Radiator" name: "Radiator"
icon: mdi:radiator icon: mdi:radiator
state: state:
- value: 'off' - value: "off"
operator: '!=' operator: "!="
styles: styles:
card: card:
- background-color: var(--primary-color) - background-color: var(--primary-color)
@@ -15,4 +15,4 @@ radiator_button:
action: call-service action: call-service
service: script.toggle_radiator service: script.toggle_radiator
service_data: service_data:
entity_id: '[[[ return entity.id ]]]' entity_id: "[[[ return entity.entity_id ]]]"