- view_layout: grid-area: "card1" type: 'custom:button-card' template: card_title name: Batteries - type: "horizontal-stack" cards: - view_layout: grid-area: "card1" type: 'custom:button-card' template: card_battery entity: sensor.iphone_battery_level variables: ulm_card_battery_charger_type_entity_id: sensor.iphone_battery_level ulm_card_battery_battery_level_danger: 30 ulm_card_battery_battery_level_warning: 80 ulm_card_battery_name: iPhone - view_layout: grid-area: "card1" type: 'custom:button-card' template: card_battery entity: sensor.ipad_battery_level variables: ulm_card_battery_charger_type_entity_id: sensor.ipad_battery_level ulm_card_battery_battery_level_danger: 30 ulm_card_battery_battery_level_warning: 80 ulm_card_battery_name: iPad