Skip to content

Commit

Permalink
fixup! fixup! fixup! Migrate logbook card from entities to target
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Jan 6, 2025
1 parent ba441e1 commit b7f3457
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions dashboards/cards/house-feed.yaml
Original file line number Diff line number Diff line change
@@ -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.*` #}
Expand Down

0 comments on commit b7f3457

Please sign in to comment.