This is my code in ui-lovelace.yaml:
- type: conditional
conditions:
- entity: switch.watch_tv
state: "on"
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
color_type: card
action: service
service:
entity-id: remote.harmony
device: 55198017
command: 1
name: 1
color: rgb(255, 131, 0)
and I get this error message:
Any idea what I am doing wrong?