I have a toggle (helper switch) in a Mushroom chip card.
How can I change the color based on on/off in the chip?
type: custom:mushroom-chips-card
chips:
- type: entity
entity: input_boolean.all_lights_condition
use_entity_picture: true
- type: entity
entity: scene.all_lights_off
double_tap_action:
action: none
This works with button cards… however I can’t find a solution for chips.
Does anyone know a how to get chip states to change color?
type: custom:button-card
entity: input_boolean.all_lights_condition
show_entity_picture: false
state:
- value: 'on'
label: LIGHTS ON
styles:
card:
- background-color: limegreen
- value: 'off'
label: ALL LIGHTS | OFF
styles:
card:
- background-color: red
show_state: false
show_label: true
show_name: false
styles:
card:
- padding: 0
- font-size: 16px
- font-weight: bold
- height: 24px
- color: white