Love this header card; it’s a better place for badges than the default position, which wastes a tonne of screen real-estate.
Has anyone got badges working within the header card though? They flow vertically, not horizontally!?
header_cards:
badges:
- type: entity
entity: person.family_devices
display_type: minimal
color: '#00BFFF'
visibility:
- condition: state
entity: person.family_devices
state: home
- type: entity
entity: input_boolean.house_sitter
display_type: minimal
icon: mdi:home-account
color: '#00BFFF'
visibility:
- condition: state
entity: input_boolean.house_sitter
state: 'on'
tap_action:
action: more-info
- type: entity
entity: binary_sensor.dishwasher_rinse_aid_refill
display_type: minimal
icon: mdi:dishwasher
color: '#00BFFF'
visibility:
- condition: state
entity: binary_sensor.dishwasher_rinse_aid_refill
state: 'on'
tap_action:
action: none
- type: entity
entity: binary_sensor.devices_offline
display_type: minimal
icon: mdi:battery-alert-variant-outline
color: red
visibility:
- condition: state
entity: binary_sensor.devices_offline
state: 'on'
tap_action:
action: fire-dom-event
browser_mod:
service: browser_mod.popup
data:
content:
type: custom:auto-entities
filter:
include:
- domain: sensor
state: unavailable
attributes:
device_class: battery
card:
type: glance
show_state: false
show_icon: false
columns: 1
Mushroom chips work well (the bin and security icons), but thought I might be able to use the updated in-built badges to achieve the same thing.