I’m new to HA, just sayin
When adding switch or button entities to cards (Mushroom entity or chips card in this case) with a Toggle action, the card indicates whether it’s toggled on or off through changing color or in the “info” fields. That functionality seems to be missing when triggering a script or scene. Is there a way to add it?
Here’s an example of Vertical stack with a one card triggering a script and the other a switch, The code seems identical but they don’t behave the same.
type: vertical-stack
cards:
- type: custom:mushroom-entity-card
entity: script.salon_fan_light
icon: mdi:ceiling-fan-light
icon_color: accent
tap_action:
action: toggle
name: Fan light
secondary_info: state
- type: custom:mushroom-entity-card
entity: switch.t34_smart_plug_switch_1
icon: mdi:lightbulb
icon_color: accent
tap_action:
action: toggle
name: Tv light
secondary_info: state