From b7f3457739b8dd1f9c2ae91a4c85c71592a88a18 Mon Sep 17 00:00:00 2001 From: Christopher Viel Date: Sun, 5 Jan 2025 21:55:01 -0500 Subject: [PATCH] fixup! fixup! fixup! Migrate logbook card from entities to target --- dashboards/cards/house-feed.yaml | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/dashboards/cards/house-feed.yaml b/dashboards/cards/house-feed.yaml index ebb3268c..8ea37e27 100644 --- a/dashboards/cards/house-feed.yaml +++ b/dashboards/cards/house-feed.yaml @@ -1,20 +1,18 @@ -type: "custom:auto-entities" -card: - type: "logbook" - title: "House feed" - hours_to_show: 24 - target: - entity: - - domain: "person" - label_id: - - "house_feed" - card_mod: - style: !template - file: ../styles/inset-icon.css.j2 - variables: - background_size: "contain" - svg_path: "M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z" - css: ".content ha-logbook { height: 330px; }" +type: "logbook" +title: "House feed" +hours_to_show: 24 +target: + entity: + - domain: "person" + label_id: + - "house_feed" +card_mod: + style: !template + file: ../styles/inset-icon.css.j2 + variables: + background_size: "contain" + svg_path: "M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z" + css: ".content ha-logbook { height: 330px; }" # Template to list entities that should be labeled with house_feed # {# Using a custom expand because the built-in expand only works on `group.*` #}