thomasloven / lovelace-state-switch

🔹Dynamically replace lovelace cards depending on occasion
MIT License
382 stars 27 forks source link

Card not appearing with stack-in-card and mushroom-chips-card #115

Open joaopedros2 opened 2 months ago

joaopedros2 commented 2 months ago

Hello, I'm having trouble trying to use the code below.

The card don't appear when using the mushroom-chips-card, but it works with other cards...

type: custom:state-switch
entity: switch.esp32_field_irrigation_irrigation_automatic
states:
  'on':
    type: custom:stack-in-card
    cards:
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: switch.esp32_field_irrigation_activation_sector_1
            icon: mdi:numeric-1-circle

with state-switch image

without state-switch image