Hi everyone, been playing around for a while and searching but not having much joy. I’m trying to add two bits of code to one card, but I keep getting the duplicate entry key error.
They both work fine in their individual cards, however would like to merge the two of them together.
Any idea how I would have both of these bits of code in one card?
type: entities
title: Media
entities:
- entity: switch.chromecast
- entity: switch.xboxone
- entity: switch.playstation_2
- entity: switch.xbox360
and
type: 'custom:mini-media-player'
entity: media_player.pioneer
volume_stateless: true
hide:
power: true
Thanks in advace