Hi team,
This was working yesterday (only set up yesterday) today I have this on both garage doors?
It has given me a clue “Custom element doesn’t exist: state-switch.” but how did that dissapear? or is it a red herring?
Custom element doesn't exist: state-switch.
type: 'custom:state-switch'
entity: switch.garage_door_1
show_state: true
name: Garage Door 1
states:
'on':
type: button
entity: switch.garage_door_1
show_state: true
name: Garage Door 1
tap_action:
action: call-service
service: switch.toggle
service_data:
entity_id: switch.garage_door_1
icon: 'hass:garage-open'
'off':
type: button
entity: switch.garage_door_1
show_state: true
name: Garage Door 1
tap_action:
action: call-service
service: switch.toggle
service_data:
entity_id: switch.garage_door_1
icon: 'hass:garage'
Thanks