Hi,
I would like to insert a conditional card.
As soon as a switch is turned on, a card should be displayed that can control the corresponding light bulb (Hue).
Actually, the whole thing looks correct to me AND in the preview it works wonderfully. After saving the changes, however, the card is always visible.
Here is the code:
type: conditional
conditions:
- entity: switch.kinds_licht_decke
state: 'on'
card:
type: custom:mushroom-light-card
entity: light.kinds_licht_hue
name: Hue
icon: mdi:ceiling-light
collapsible_controls: true
show_brightness_control: true
tap_action:
action: toggle
secondary_info: none
hold_action:
action: more-info
Any ideas?
Home Assistant Version 2022.10.5
The preview screenshot is here: (i can only upload one media as a new user)