mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Fix toggle by entity_id
This commit is contained in:
@@ -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 + ')' ]]]"
|
||||
|
||||
Reference in New Issue
Block a user