I am trying to create a card that conditionally shows if ‘my_device’ is home. I’ve created the below however I get the error ‘duplicated mapping key (22:1)’.
What is the correct way to have a conditional card?
type: conditional conditions: - entity: device_tracker.my_device state: home card: column_width: 30% columns: 3 show_state: false title: Warnings! type: glance entities: - entity: input_boolean.openevse_disconnected show_name: true show_icon: true type: button name: OpenEVSE state_filter: - 'on' - 'True' - home - playing type: entity-filter show_empty: false