feat(dashboard-zuhause): add Musik tab
5 Sections in max_columns: 1: - Music Assistant Server-Status (Aktiv/CPU/RAM) - Wohnzimmer Sonos System (mass-player-card mit Browser+Queue) - Wohnzimmer Playbase (mass-player-card) - Küche (media_player.unnamed_room_2 — bestehender Player aus alter music-View) - HONOR Pad Nur aktive Player (idle/playing) — TVs und Voice-Sat sind aktuell unavailable, kommen rein wenn online.
This commit is contained in:
@@ -2376,6 +2376,125 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Musik",
|
||||
"path": "musik",
|
||||
"icon": "mdi:music",
|
||||
"type": "sections",
|
||||
"max_columns": 1,
|
||||
"sections": [
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "Music Assistant",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mushroom-chips-card",
|
||||
"alignment": "justify",
|
||||
"chips": [
|
||||
{
|
||||
"type": "template",
|
||||
"icon": "mdi:server",
|
||||
"icon_color": "{% if is_state('binary_sensor.music_assistant_server_aktiv','on') %}green{% else %}red{% endif %}",
|
||||
"content": "MA-Server {{ states('sensor.music_assistant_server_version') }}"
|
||||
},
|
||||
{
|
||||
"type": "template",
|
||||
"icon": "mdi:cpu-64-bit",
|
||||
"icon_color": "blue",
|
||||
"content": "CPU {{ states('sensor.music_assistant_server_cpu_prozent') }}%"
|
||||
},
|
||||
{
|
||||
"type": "template",
|
||||
"icon": "mdi:memory",
|
||||
"icon_color": "purple",
|
||||
"content": "RAM {{ states('sensor.music_assistant_server_arbeitsspeicher_in_prozent') }}%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "Wohnzimmer (Sonos System)",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mass-player-card",
|
||||
"entities": [
|
||||
"media_player.wohnzimmer_sonos_system"
|
||||
],
|
||||
"expressive_scheme": "vibrant",
|
||||
"default_section": "music_player",
|
||||
"queue": {
|
||||
"show_album_covers": true,
|
||||
"show_artist_names": true
|
||||
},
|
||||
"media_browser": {
|
||||
"default_section": "recommendations",
|
||||
"recommendations": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "Wohnzimmer (Playbase)",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mass-player-card",
|
||||
"entities": [
|
||||
"media_player.wohnzimmer_playbase"
|
||||
],
|
||||
"expressive_scheme": "vibrant",
|
||||
"default_section": "music_player",
|
||||
"queue": {
|
||||
"show_album_covers": true,
|
||||
"show_artist_names": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "Küche",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mass-player-card",
|
||||
"entities": [
|
||||
"media_player.unnamed_room_2"
|
||||
],
|
||||
"expressive_scheme": "vibrant",
|
||||
"default_section": "music_player",
|
||||
"queue": {
|
||||
"show_album_covers": true,
|
||||
"show_artist_names": true
|
||||
},
|
||||
"media_browser": {
|
||||
"default_section": "recommendations",
|
||||
"recommendations": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "grid",
|
||||
"title": "HONOR Pad",
|
||||
"cards": [
|
||||
{
|
||||
"type": "custom:mass-player-card",
|
||||
"entities": [
|
||||
"media_player.honor_pad_10"
|
||||
],
|
||||
"expressive_scheme": "vibrant",
|
||||
"default_section": "music_player",
|
||||
"queue": {
|
||||
"show_album_covers": true,
|
||||
"show_artist_names": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Home",
|
||||
"type": "sections",
|
||||
|
||||
Reference in New Issue
Block a user