From 9e446e0d57a29c534fe3a8b5fe1d1127537e1ad9 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Sun, 17 May 2026 17:21:07 +0200 Subject: [PATCH] =?UTF-8?q?Madplan:=20tilf=C3=B8j=20Sonos=20K=C3=B8kken=20?= =?UTF-8?q?media-control=20+=2022=20kildeknapper=20(P3,=20Family=20Mix,=20?= =?UTF-8?q?Danske=20fav,=20Rock=20klassikere,=20Claus/Andreas/Daniel=20Dai?= =?UTF-8?q?ly=20Mix=201-6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + dashboards/views/04c_madplan.yaml | 427 ++++++++++++++++++++++++++++++ www/mealie.json | 2 +- 3 files changed, 429 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7d89312..d5765c2 100755 --- a/.gitignore +++ b/.gitignore @@ -70,6 +70,7 @@ include/**/._* /oldscripts.yaml # --- Local media snapshots and downloads --- +/www/snapshots/ /www/affalddk/ /www/community/ /www/indkorsel_snapshot.jpg diff --git a/dashboards/views/04c_madplan.yaml b/dashboards/views/04c_madplan.yaml index d7a219d..7885925 100644 --- a/dashboards/views/04c_madplan.yaml +++ b/dashboards/views/04c_madplan.yaml @@ -99,3 +99,430 @@ cards: | --- | --- | {{ ns.rows }} + # 🎵 Sonos Køkken + - type: media-control + entity: media_player.kokken + name: Sonos Køkken + + - type: grid + columns: 3 + square: false + cards: + - type: custom:button-card + name: DR P3 + icon: mdi:radio + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "0 DR P3" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Family Mix + icon: mdi:account-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "1 Family Mix" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Danske fav. + icon: mdi:music-note + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Danske favoritter" # Juster navn hvis nødvendigt + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Rock klassikere + icon: mdi:music-note-outline + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Danske rock klassikere" # Juster navn hvis nødvendigt + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Claus Mix 1 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Claus Daily Mix 1" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Claus Mix 2 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Claus Daily Mix 2" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Claus Mix 3 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Claus Daily Mix 3" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Claus Mix 4 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Claus Daily Mix 4" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Claus Mix 5 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Claus Daily Mix 5" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Claus Mix 6 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Claus Daily Mix 6" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Andreas Mix 1 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Andreas Daily Mix 1" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Andreas Mix 2 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Andreas Daily Mix 2" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Andreas Mix 3 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Andreas Daily Mix 3" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Andreas Mix 4 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Andreas Daily Mix 4" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Andreas Mix 5 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Andreas Daily Mix 5" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Andreas Mix 6 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Andreas Daily Mix 6" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Daniel Mix 1 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Daniel Daily Mix 1" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Daniel Mix 2 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Daniel Daily Mix 2" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Daniel Mix 3 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Daniel Daily Mix 3" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Daniel Mix 4 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Daniel Daily Mix 4" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Daniel Mix 5 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Daniel Daily Mix 5" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Daniel Mix 6 + icon: mdi:playlist-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.kokken + data: + source: "Daniel Daily Mix 6" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + diff --git a/www/mealie.json b/www/mealie.json index 8d7e15e..f4558bb 100644 --- a/www/mealie.json +++ b/www/mealie.json @@ -1 +1 @@ -{"count": 7, "items": [{"date": "2026-05-22", "recipe": {"name": "M\u00f8rbradb\u00f8ffer med bl\u00f8de l\u00f8g og fl\u00f8desauce", "slug": "morbradboffer-med-blode-log-og-flodesauce"}}, {"date": "2026-05-21", "recipe": {"name": "Frikadeller", "slug": "frikadeller"}}, {"date": "2026-05-20", "recipe": {"name": "Rester fra mandag (Lasagne)", "slug": ""}}, {"date": "2026-05-19", "recipe": {"name": "Rester fra s\u00f8ndag (Flyvende Jacob)", "slug": ""}}, {"date": "2026-05-18", "recipe": {"name": "Lasagne", "slug": "lasagne"}}, {"date": "2026-05-17", "recipe": {"name": "Flyvende Jacob", "slug": "flyvende-jacob"}}, {"date": "2026-05-16", "recipe": {"name": "Luksus Stjerneskud", "slug": "luksus-stjerneskud"}}]} \ No newline at end of file +{"count": 7, "items": [{"date": "2026-05-23", "recipe": {"name": "Ingen hjemme", "slug": ""}}, {"date": "2026-05-22", "recipe": {"name": "M\u00f8rbradb\u00f8ffer med bl\u00f8de l\u00f8g og fl\u00f8desauce", "slug": "morbradboffer-med-blode-log-og-flodesauce"}}, {"date": "2026-05-21", "recipe": {"name": "Frikadeller", "slug": "frikadeller"}}, {"date": "2026-05-20", "recipe": {"name": "Rester fra mandag (Lasagne)", "slug": ""}}, {"date": "2026-05-19", "recipe": {"name": "Rester fra s\u00f8ndag (Flyvende Jacob)", "slug": ""}}, {"date": "2026-05-18", "recipe": {"name": "Lasagne", "slug": "lasagne"}}, {"date": "2026-05-17", "recipe": {"name": "Flyvende Jacob", "slug": "flyvende-jacob"}}]} \ No newline at end of file