I’m using a custom Grid Card with 4 Buttons - when I press a button, I get the following error:
Failed to call service input_select/select_option. connection lost
Here is the code:
square: false
type: grid
cards:
- type: custom:button-card
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.house_mode
option: Home
entity: input_select.house_mode
icon: mdi:home
name: Home
color: var(--paper-item-icon-color)
state:
- value: Home
color: var(--paper-item-icon-active-color)
- type: custom:button-card
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.house_mode
option: Night
entity: input_select.house_mode
icon: mdi:weather-night
name: Night
color: var(--paper-item-icon-color)
state:
- value: Night
color: var(--paper-item-icon-active-color)
- type: custom:button-card
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.house_mode
option: Away
entity: input_select.house_mode
icon: mdi:shield-lock
name: Away
color: var(--paper-item-icon-color)
state:
- value: Away
color: var(--paper-item-icon-active-color)
- type: custom:button-card
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.house_mode
option: Vacation
entity: input_select.house_mode
icon: mdi:beach
name: Vacation
color: var(--paper-item-icon-color)
state:
- value: Vacation
color: var(--paper-item-icon-active-color)
columns: 4
Any help appropriated as I’ve been pulling my hair out on this.