Refactor indicator button

This commit is contained in:
2020-05-01 22:45:47 +03:00
parent d773e717b6
commit a23a12f41a
@@ -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