i have done but not wofking as before
when with my card-modder
cards:
- card:
entity: input_select.remote
hold_action: none
icon: hide
name: TV
tap_action:
action: call-service
service: input_select.set_options
service_data:
entity_id: input_select.remote
options: TV
type: entity-button
style: |
ha-card {
border-radius: 20px;
background-color: rgba(56, 60, 69, 1);
box-shadow: 3px 3px rgba(0,0,0,0.4);
outline: >-
{% if(input_select.remote == "TV", "solid 3px red", "solid 3px rgba(255,125,125,1)");
}
type: 'custom:mod-card'
- card:
entity: input_select.remote
hold_action: none
icon: hide
name: Mini
tap_action:
action: call-service
service: input_select.set_options
service_data:
entity_id: input_select.remote
options: Mini
type: entity-button
style:
background-color: 'rgba(56, 60, 69, 1)'
border: >-
[[ if(input_select.remote == "Mini", "solid 3px red", "solid 3px
rgba(255, 125, 125,1)") ]]
border-radius: 20px
box-shadow: '3px 3px rgba(0,0,0,0.4)'
type: 'custom:card-modder'
- card:
entity: input_select.remote
hold_action: none
icon: hide
name: Onkyo
tap_action:
action: call-service
service: input_select.set_options
service_data:
entity_id: input_select.remote
options: Onkyo
type: entity-button
style:
background-color: 'rgba(56, 60, 69, 1)'
border: >-
[[ if(input_select.remote == "Onkyo", "solid 3px red", "solid 3px
rgba(255, 125, 125,1)") ]]
border-radius: 20px
box-shadow: '3px 3px rgba(0,0,0,0.4)'
type: 'custom:card-modder'
- card:
entity: input_select.remote
hold_action: none
icon: hide
name: TataSky
tap_action:
action: call-service
service: input_select.set_options
service_data:
entity_id: input_select.remote
options: TataSky
type: entity-button
style:
background-color: 'rgba(56, 60, 69, 1)'
border: >-
[[ if(input_select.remote == "TataSky", "solid 3px red", "solid 3px
rgba(255, 125, 125,1)") ]]
border-radius: 20px
box-shadow: '3px 3px rgba(0,0,0,0.4)'
type: 'custom:card-modder'
type: horizontal-stack
look at Mini and see the border with light red and when selected it goes dark red.
the changes i made is for TV but it doesnt have any border color
Please guide