Heading card
The Heading card structures your dashboard by providing title, icon and navigation. This card supports actions.
Screenshot of a heading card with a title, badges, and a subtitle.
type: heading
heading: Living room
icon: mdi:sofa
badges:
- type: entity
entity_id: sensor.living_room_sensor_temperature
color: red
- type: entity
entity: sensor.living_room_sensor_humidity
color: deep-purple
Configuration Variables
Style of the heading. Can be either title
or subtitle
.
Action taken on card tap. See action documentation. By default, it will do nothing. If an action is configured, a chevron will appear next to the heading text.
Additional small badges to display entity information. See heading badges.
Heading badges
In addition to the heading text, each heading card can show small badges. They are smaller than regular badges and don’t have a background. The heading badges can display sensor information in a compact and minimal style.
type: entity
entity: light.living_room
Configuration Variables
Overwrites the entity name. The name will be only displayed if state_content
includes name
token.
Set the color when the entity is active. By default, it will not be colored. It can be set to the state
special token to dynamically color the icon based on state
, domain
, and device_class
of your entity. It also accepts color token or hex color code.
Content to display for the state. Can be state
, name
, last_changed
, last_updated
, or any attribute of the entity. Can be either a string with a single item, or a list of string items. Default depends on the entity domain.
Action taken on card tap. See action documentation. By default, it will do nothing.