Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 108394

Vertical stack Card - Hide individual entities?

$
0
0

Hello - I’m trying to add visibility conditions to individual entities within a single vertical stack card. Is this possible? For example I only want to see the subset of lights in my garage when the main lights are on (They supply the power to zwave relays). I’m able to hide the card completely on conditions, but what about individually? Here’s my base YAML and attempt which didn’t work under “bar lights” entity. I’m unsure where/how to add the visibility state condition under each entity. Appreciate the help!

type: vertical-stack
cards:
  - type: custom:mushroom-title-card
    title: Garage
  - type: custom:mushroom-entity-card
    entity: group.all_garage_lights
    icon: mdi:lightbulb-fluorescent-tube-outline
    primary_info: name
    icon_color: orange
    tap_action:
      action: toggle
  - type: custom:mushroom-entity-card
    entity: light.garage_lights_bar_area
    icon: mdi:lightbulb-fluorescent-tube-outline
    primary_info: name
    icon_color: orange
    tap_action:
      action: toggle
    visibility: null
    condition: state
    state_not: unavailable
  - type: custom:mushroom-entity-card
    entity: light.garage_lights_gym_area
    icon: mdi:lightbulb-fluorescent-tube-outline
    primary_info: name
    icon_color: orange
    tap_action:
      action: toggle

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 108394

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>