Fix toggle by entity_id

This commit is contained in:
2020-05-01 17:06:47 +03:00
parent 4a8a194bf8
commit f71ebf5d6f
@@ -13,7 +13,7 @@ with_state_indicator:
action: call-service
service: homeassistant.toggle
service_data:
entity_id: "[[[ return variables.state_indicator_id || entity ]]]"
entity_id: "[[[ return variables.state_indicator_id || entity.entity_id ]]]"
styles:
name:
- transform: "[[[ return 'translateY(' + variables.state_indicator_size + ')' ]]]"