Below is part of a bigger card but I am trying to add somethings to my buttons to say if the remote is running Watch TV or Listen To Music Activity, show the button. I can do it with one but trying to do an “or” doesn’t seem to work. I tried an additional condition: below but can’t get it to work. The below doesn’t show the button when “Watch TV” is on.
- cards:
- card:
color: var(--primary-text-color)
color_type: icon
icon: 'mdi:exit-to-app'
name: TV
show_icon: false
size: 25%
styles:
card:
- border-radius: 30px
- height: 32px
label:
- color: gray
- font-size: 9px
- justify-self: start
- padding: 0px 5px
name:
- font-weight: bold
- font-size: 15px
- padding: 0px 0px
tap_action:
action: call-service
service: remote.send_command
service_data:
command: PowerToggle
device: Panasonic TV
entity_id: remote.familyroom_hub
type: 'custom:button-card'
type: conditional
condition: or
conditions:
- condition: state
entity: input_select.harmonytvsource
state: Watch TV
- condition: state
entity: input_select.harmonytvsource
state: Listen To Music
Thoughts?