Hi, I am trying to hide/show a card based on the state of another entity. I read many posts here and I think my syntax is correct. But apparently not… I’m out of clues, any suggestions? Thanks
- type: conditional
conditions:
- entity: switch.p5
state: 'on'
card:
- type: custom:slider-button-card
entity: switch.p5_2
show_name: false
show_state: false
icon:
tap_action:
action: toggle
use_state_color: true
hold_action:
action: none
style:
left: 83%
top: 33%
compact: true
slider:
toggle_on_click: true
action_button:
show: false
mode: custom