mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-02 23:54:25 +00:00
Refactor indicator button
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
with_state_indicator:
|
||||
variables:
|
||||
state_indicator_id: # defaults to entity_id
|
||||
|
||||
state_indicator_size: 2px
|
||||
state_indicator_off_size: # If set, used when the state_indicator entity is off
|
||||
|
||||
# state indicators are used when the entity's state is not 'on'
|
||||
state_indicator_on_color: white
|
||||
state_indicator_off_color: transparent
|
||||
|
||||
state_indicator_off_size: # If set, used when the state_indicator entity is off
|
||||
|
||||
# state_on_indicator_s are used when the entity's state is 'on':
|
||||
state_on_indicator_on_color: white
|
||||
state_on_indicator_off_color: transparent
|
||||
|
||||
triggers_update: all # unfortunately a template doesn't seem to work here :/
|
||||
double_tap_action:
|
||||
action: call-service
|
||||
|
||||
Reference in New Issue
Block a user