Skip to content

Commit

Permalink
Migrate vertical stack titles with headings
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Jan 8, 2025
1 parent b7f3457 commit 95dc314
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dashboards/views/basement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 16 additions & 4 deletions dashboards/views/climate.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
- type: "vertical-stack"
title: "House"
cards:
- type: "heading"
heading: "House"
icon: "mdi:home"

- !include ../cards/climate-overview.yaml

- type: "entities"
Expand All @@ -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: " "
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
19 changes: 13 additions & 6 deletions dashboards/views/media-details.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -74,4 +82,3 @@

- type: "todo-list"
entity: "todo.audio_broadcast"
title: "Queued broadcasts"
15 changes: 12 additions & 3 deletions dashboards/views/security.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
- type: "vertical-stack"
title: Controls
cards:
- type: "heading"
heading: "Controls"
icon: "mdi:shield"

- !include ../cards/alarm.yaml

- type: "entities"
Expand All @@ -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: |
{%
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 95dc314

Please sign in to comment.