Sure!!!
To create this dashboard, you will need the following HACS Add-Ons:
card-mod, auto-entities, and Mushroom card.
First column:
type: vertical-stack
cards:
- type: entities
card_mod:
style: |
ha-card {
border-style: none;
background: none;
--mush-title-padding: 0px 0px 0px;
}
entities:
- type: custom:mushroom-title-card
title: Home Assistant Server
subtitle: >
Core v{{ state_attr('update.home_assistant_core_update',
'installed_version') }} - OS v{{
state_attr('update.home_assistant_operating_system_update','installed_version')
}} - Supervisor v{{
state_attr('update.home_assistant_supervisor_update',
'installed_version') }}
- type: section
- type: custom:mushroom-chips-card
chips:
- type: entity
entity: sensor.processor_temperature
icon_color: orange
- type: entity
entity: sensor.processor_use
icon_color: blue
- type: entity
entity: sensor.memory_use_percent
icon_color: orange
- type: entity
entity: sensor.disk_use_percent_config
icon_color: deep-purple
- type: section
- type: custom:mushroom-title-card
title: Home Assistant Core
card_mod:
style: |
h1.title {
font-size: 20px;
padding: 0px 5px 0px;
}
- type: custom:mushroom-chips-card
chips:
- type: template
entity: update.home_assistant_core_update
icon: mdi:package-variant-closed-check
content: >-
{{ state_attr('update.home_assistant_core_update',
'installed_version')}}
icon_color: green
tap_action:
action: more-info
- type: template
entity: update.home_assistant_core_update
icon: mdi:package-variant
content: >-
{{ state_attr('update.home_assistant_core_update',
'latest_version')}}
icon_color: purple
tap_action:
action: more-info
- type: custom:mushroom-update-card
entity: update.home_assistant_core_update
name: Core
show_buttons_control: true
icon_type: entity-picture
layout: horizontal
- type: section
- type: custom:mushroom-title-card
title: Home Assistant Operating System
card_mod:
style: |
h1.title {
font-size: 20px;
padding: 0px 5px 0px;
}
- type: custom:mushroom-chips-card
chips:
- type: template
entity: update.home_assistant_operating_system_update
icon: mdi:package-variant-closed-check
content: >-
{{ state_attr('update.home_assistant_operating_system_update',
'installed_version')}}
icon_color: green
tap_action:
action: more-info
- type: template
entity: update.home_assistant_operating_system_update
icon: mdi:package-variant
content: >-
{{ state_attr('update.home_assistant_operating_system_update',
'latest_version')}}
icon_color: purple
tap_action:
action: more-info
- type: custom:mushroom-update-card
entity: update.home_assistant_operating_system_update
name: Operating System
show_buttons_control: true
icon_type: entity-picture
layout: horizontal
- type: section
- type: custom:mushroom-title-card
title: Home Assistant Supervisor
card_mod:
style: |
h1.title {
font-size: 20px;
padding: 0px 5px 0px;
}
- type: custom:mushroom-chips-card
chips:
- type: template
entity: update.home_assistant_supervisor_update
icon: mdi:package-variant-closed-check
content: >-
{{ state_attr('update.home_assistant_supervisor_update',
'installed_version')}}
icon_color: green
tap_action:
action: more-info
- type: template
entity: update.home_assistant_supervisor_update
icon: mdi:package-variant
content: >-
{{ state_attr('update.home_assistant_supervisor_update',
'latest_version')}}
icon_color: purple
tap_action:
action: more-info
- type: custom:mushroom-update-card
entity: update.home_assistant_supervisor_update
name: Supervisor
show_buttons_control: true
icon_type: entity-picture
layout: horizontal
For the second column, you need to enable all entities of each add-on of the Supervisor integration.
Second column:
type: vertical-stack
cards:
- type: entities
card_mod:
style: |
ha-card {
border-style: none;
background: none;
--mush-title-padding: 0px 0px 0px;
}
div.card-content {
padding-bottom: 0px
}
entities:
- type: custom:mushroom-title-card
title: Componenti aggiuntivi
subtitle: >-
{{ integration_entities('Supervisor') | map('device_id') | unique |
list | length }} Componenti installati
- type: custom:auto-entities
card:
type: entities
card_mod:
style: |
ha-card {
border-style: none;
background: none;
--mush-title-font-size: 20px;
--mush-title-padding: 0px 5px 0px;
}
h1.card-header{
padding: 6px 16px 0px;
}
div.card-content {
padding-top: 0px
}
filter:
template: >
{%- set dev = namespace() %} {%- set dev.name = '' %} {%- set
dev.running = '' %} {%- set dev.newest_version = '' %} {%- set
dev.version = '' %} {%- set dev.cpu_percent = '' %} {%- set
dev.memory_percent = '' %} {%- set dev.update = '' %}
{%- for devid in (integration_entities('Supervisor') | map('device_id')
| unique) %}
{%- set dev.name = device_attr(devid, "name") %}
{%- for ent in device_entities(devid) %}
{%- if (ent.find("running") | int>=0) %}
{%- set dev.running = ent %}
{%- endif %}
{%- if (ent.find("newest_version") | int>=0) %}
{%- set dev.newest_version = ent %}
{%- endif %}
{%- if (ent.find("version") | int>=0) %}
{%- set dev.version = ent %}
{%- endif %}
{%- if (ent.find("cpu_percent") | int>=0) %}
{%- set dev.cpu_percent = ent %}
{%- endif %}
{%- if (ent.find("memory_percent") | int>=0) %}
{%- set dev.memory_percent = ent %}
{%- endif %}
{%- if (ent.find("update") | int>=0) %}
{%- set dev.update = ent %}
{%- endif %}
{%- endfor %}
{%- if dev.version > '' %}
{{-
{ 'type': 'section'
}
}},
{{-
{ 'type': 'custom:mushroom-title-card',
'title': dev.name
}
}},
{{-
{ 'type': 'custom:mushroom-chips-card',
'chips': [
{
'type': 'entity',
'entity': dev.running,
'icon_color': 'green'
},
{
'type': 'entity',
'entity': dev.version,
'icon_color': 'green',
'icon': 'mdi:package-variant-closed-check'
},
{
'type': 'entity',
'entity': dev.newest_version,
'icon_color': 'purple',
'icon': 'mdi:package-variant'
},
{
'type': 'entity',
'entity': dev.cpu_percent,
'icon_color': 'blue'
},
{
'type': 'entity',
'entity': dev.memory_percent,
'icon_color': 'orange'
},
]
}
}},
{{-
{ 'type': 'custom:mushroom-update-card',
'entity': dev.update,
'name': dev.name,
'show_buttons_control': true,
'collapsible_controls': false,
'icon_type': 'entity-picture',
'layout': 'horizontal'
}
}},
{%- endif %}
{%- endfor %}
For the third column, you need to enable the experimental features of HACS.
Third column:
type: vertical-stack
cards:
- type: entities
card_mod:
style: |
ha-card {
border-style: none;
background: none;
--mush-title-padding: 0px 0px 0px;
}
entities:
- type: custom:mushroom-title-card
title: HACS
subtitle: >-
Installata v{{ state_attr('update.hacs_update', 'installed_version')
}} - Ultima v{{ state_attr('update.hacs_update', 'latest_version') }}
- type: section
- type: custom:mushroom-chips-card
chips:
- type: template
icon: mdi:web
icon_color: blue
content: Ultime modifiche
tap_action:
action: url
url_path: https://github.com/hacs/integration/releases
- type: template
entity: update.hacs_update
content: '{{ state_attr(''update.hacs_update'', ''installed_version'') }}'
icon_color: green
icon: mdi:package-variant-closed
tap_action:
action: none
- type: template
entity: update.hacs_update
content: '{{ state_attr(''update.hacs_update'', ''latest_version'') }}'
icon_color: orange
icon: mdi:package-variant-closed
tap_action:
action: none
- type: section
- type: custom:auto-entities
card:
type: entities
card_mod:
style: |
ha-card {
border-style: none;
background: none;
}
div.card-content {
padding: 0px;
}
filter:
template: >
{%- set dev = namespace() %} {%- set dev.name = '' %} {%- set dev.update
= '' %}
{%- for devid in (integration_entities('hacs') | map('device_id') |
list) %}
{%- set dev.name = device_attr(devid, "name") %}
{%- for ent in device_entities(devid) %}
{%- if (ent.find("update") | int>=0) %}
{%- set dev.update = ent %}
{%- endif %}
{%- endfor %}
{{-
{ 'type': 'custom:mushroom-update-card',
'entity': dev.update,
'name': dev.name,
'show_buttons_control': true,
'collapsible_controls': false,
'layout': 'horizontal'
}
}},
{%- endfor %}