From 95dc3141b46d99367714bd61b398db7e65c0d732 Mon Sep 17 00:00:00 2001 From: Christopher Viel Date: Tue, 7 Jan 2025 20:17:49 -0500 Subject: [PATCH] Migrate vertical stack titles with headings --- dashboards/views/basement.yaml | 2 +- dashboards/views/climate.yaml | 20 ++++++++++++++++---- dashboards/views/media-details.yaml | 19 +++++++++++++------ dashboards/views/security.yaml | 15 ++++++++++++--- 4 files changed, 42 insertions(+), 14 deletions(-) diff --git a/dashboards/views/basement.yaml b/dashboards/views/basement.yaml index c9f9744e..9141ef1b 100644 --- a/dashboards/views/basement.yaml +++ b/dashboards/views/basement.yaml @@ -31,7 +31,7 @@ - entity: light.lounge_ambiance name: Ambiance icon: mdi:floor-lamp - - entity: media_player.lounge_chromecast + - entity: media_player.lounge_tv_cast name: Chromecast icon: mdi:television-play - entity: media_player.lounge_google_home diff --git a/dashboards/views/climate.yaml b/dashboards/views/climate.yaml index 0c6f5b36..dd35a21c 100644 --- a/dashboards/views/climate.yaml +++ b/dashboards/views/climate.yaml @@ -1,6 +1,9 @@ - type: "vertical-stack" - title: "House" cards: + - type: "heading" + heading: "House" + icon: "mdi:home" + - !include ../cards/climate-overview.yaml - type: "entities" @@ -25,8 +28,11 @@ name: "Baseline manipulation" - type: "vertical-stack" - title: "Heat pump" cards: + - type: "heading" + heading: "Heat pump" + icon: "mdi:heat-pump" + - type: "thermostat" entity: "climate.heat_pump" name: " " @@ -123,8 +129,11 @@ name: "Comfort" - type: "vertical-stack" - title: "Thermostats" cards: + - type: "heading" + heading: "Thermostats" + icon: "mdi:thermostat" + - type: "entities" title: "Ground floor" show_header_toggle: false @@ -177,8 +186,11 @@ icon: "mdi:lightning-bolt-circle" - type: "vertical-stack" - title: "Weather" cards: + - type: "heading" + heading: "Air quality" + icon: "mdi:air-filter" + - type: weather-forecast entity: weather.quebec show_forecast: true diff --git a/dashboards/views/media-details.yaml b/dashboards/views/media-details.yaml index a543726a..ca22169e 100644 --- a/dashboards/views/media-details.yaml +++ b/dashboards/views/media-details.yaml @@ -1,6 +1,8 @@ - type: vertical-stack - title: Speakers cards: + - type: "heading" + heading: "Speakers" + icon: "mdi:speaker" - type: media-control entity: media_player.laundry_room_google_home name: Laundry @@ -18,18 +20,22 @@ name: Office - type: vertical-stack - title: TVs cards: + - type: "heading" + heading: "TVs" + icon: "mdi:television" - type: media-control entity: media_player.living_room_tv name: Living room - type: media-control - entity: media_player.lounge_chromecast + entity: media_player.lounge_tv_cast name: Lounge - type: vertical-stack - title: Groups cards: + - type: "heading" + heading: "Groups" + icon: "mdi:speaker-multiple" - type: media-control entity: media_player.cast_basement name: Basement @@ -38,8 +44,10 @@ name: Whole house - type: vertical-stack - title: Broadcast cards: + - type: "heading" + heading: "Broadcast" + icon: "mdi:broadcast" - type: entities entities: - type: custom:lovelace-multiline-text-input-card @@ -74,4 +82,3 @@ - type: "todo-list" entity: "todo.audio_broadcast" - title: "Queued broadcasts" diff --git a/dashboards/views/security.yaml b/dashboards/views/security.yaml index e2a4e0c3..c22ab10b 100644 --- a/dashboards/views/security.yaml +++ b/dashboards/views/security.yaml @@ -1,6 +1,9 @@ - type: "vertical-stack" - title: Controls cards: + - type: "heading" + heading: "Controls" + icon: "mdi:shield" + - !include ../cards/alarm.yaml - type: "entities" @@ -27,8 +30,11 @@ action_name: "Clear current activity" - type: "vertical-stack" - title: "Last arming" cards: + - type: "heading" + heading: "Last arming" + icon: "mdi:calendar" + - type: "markdown" content: | {% @@ -63,8 +69,11 @@ - group: binary_sensor.intrusion_activity - type: "vertical-stack" - title: "Devices" cards: + - type: "heading" + heading: "Devices" + icon: "mdi:devices" + - type: glance title: Leaks entities: