Rearrange cards in vertical stacks

This commit is contained in:
2020-03-06 23:16:36 +02:00
parent 54489ff146
commit bc04c7891d
3 changed files with 132 additions and 119 deletions
+50 -41
View File
@@ -3,6 +3,9 @@ path: default_view
icon: "mdi:home"
badges: []
cards:
# Column 1: Active Controls
- type: vertical-stack
cards:
- type: entities
title: Lights
entities:
@@ -11,24 +14,6 @@ cards:
- entity: light.pc
show_header_toggle: false
- type: entities
title: Manual Control
entities:
- entity: input_boolean.sleep_mode
- entity: input_boolean.guest_mode
- entity: input_boolean.domestina
- entity: input_boolean.speech_notifications
- entity: input_boolean.georgi_home
show_header_toggle: false
- type: entities
title: Sensors
entities:
- entity: binary_sensor.front_door_on_off_wrapper
- entity: binary_sensor.living_room_right_window_on_off_wrapper
- entity: binary_sensor.bedroom_right_window_on_off_wrapper
show_header_toggle: false
- type: entities
title: Devices
entities:
@@ -37,24 +22,6 @@ cards:
- entity: fan.philips_airpurifier
show_header_toggle: false
- type: entities
title: Presence
entities:
- entity: binary_sensor.georgi_home
- entity: device_tracker.carbon
- entity: device_tracker.tile_1bcb2b3021b9f96b
show_header_toggle: false
- type: "custom:travel-time-card"
title: "Travel time"
columns:
- name
- duration
- distance
entities:
- entity: sensor.home_to_work
- entity: sensor.work_to_home
- type: "custom:mini-media-player"
artwork: cover
entity: media_player.master_bedroom
@@ -68,11 +35,34 @@ cards:
show_source: true
source: full
- type: "custom:weather-card"
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: entities
title: Manual Overrides
entities:
- entity: input_boolean.sleep_mode
- entity: input_boolean.guest_mode
- entity: input_boolean.domestina
- entity: input_boolean.speech_notifications
- entity: input_boolean.georgi_home
show_header_toggle: false
# Column 2: Sensors
- type: vertical-stack
cards:
- type: entities
title: Sensors
entities:
- entity: binary_sensor.front_door_on_off_wrapper
- entity: binary_sensor.living_room_right_window_on_off_wrapper
- entity: binary_sensor.bedroom_right_window_on_off_wrapper
show_header_toggle: false
- type: entities
title: Presence
entities:
- entity: binary_sensor.georgi_home
- entity: device_tracker.carbon
- entity: device_tracker.tile_1bcb2b3021b9f96b
show_header_toggle: false
- type: entities
title: Misc Badges
@@ -82,3 +72,22 @@ cards:
- entity: sensor.carbon_steps
- entity: binary_sensor.updater
show_header_toggle: false
# Column 3: Misc
- type: vertical-stack
cards:
- type: "custom:weather-card"
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: "custom:travel-time-card"
title: "Travel time"
columns:
- name
- duration
- distance
entities:
- entity: sensor.home_to_work
- entity: sensor.work_to_home
+2
View File
@@ -24,6 +24,8 @@ cards:
- entity: light.living_room_4
- entity: light.pc
- type: vertical-stack
cards:
- type: picture-entity
aspect_ratio: 50%
entity: camera.amcrest_camera
+2
View File
@@ -3,6 +3,8 @@ path: master-bedroom
icon: "mdi:bed-empty"
badges: []
cards:
- type: vertical-stack
cards:
- type: "custom:mini-graph-card"
animate: true
entities: