Streamline dashboardds

This commit is contained in:
2020-05-31 19:05:18 +03:00
parent 8acba3dfeb
commit cb1858b685
6 changed files with 36 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
media_with_controls:
defaults:
- player_name:
- title: "Media"
card:
type: vertical-stack
title: Media
title: "[[title]]"
cards:
- type: custom:decluttering-card
template: sonos_media_player

View File

@@ -12,10 +12,19 @@
card:
type: custom:layout-card
layout: horizontal
max_columns: 1
min_columns: 2
max_columns: 2
cards:
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.bathroom
- player_name: Bathroom
- title: Bathroom
- type: custom:decluttering-card
template: climate_card
variables:
- title: "Climate"
- main_entity: sensor.bathroom_weather_temperature
- left_entity: sensor.bathroom_weather_humidity
- right_entity: sensor.bathroom_weather_pressure

View File

@@ -12,12 +12,13 @@
card:
type: custom:layout-card
layout: horizontal
max_columns: 1
min_columns: 2
max_columns: 2
cards:
- type: vertical-stack
title: Hallway
cards:
- type: horizontal-stack
title: Lights
cards:
- type: custom:button-card
template: default
@@ -56,3 +57,11 @@
min_value: 0
max_value: 1000
normal_value: 1000
- type: custom:decluttering-card
template: climate_card
variables:
- title: "Climate"
- main_entity: sensor.hallway_weather_temperature
- left_entity: sensor.hallway_weather_humidity
- right_entity: sensor.hallway_weather_pressure

View File

@@ -15,9 +15,9 @@
max_columns: 2
cards:
- type: vertical-stack
title: Kitchen
cards:
- type: horizontal-stack
title: Lights
cards:
- type: custom:button-card
template: default
@@ -119,3 +119,13 @@
name: Hallway
variables:
state_indicator_id: automation.lighting_hallway_day_mode_motion_turn_lights_on
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: climate_card
variables:
- title: "Climate"
- main_entity: sensor.kitchen_weather_temperature
- left_entity: sensor.kitchen_weather_humidity
- right_entity: sensor.kitchen_weather_pressure

View File

@@ -15,9 +15,9 @@
max_columns: 2
cards:
- type: vertical-stack
title: Living room
cards:
- type: horizontal-stack
title: Lights
cards:
- type: custom:button-card
template: default

View File

@@ -15,9 +15,9 @@
max_columns: 2
cards:
- type: vertical-stack
title: Bedroom
cards:
- type: horizontal-stack
title: Lights
cards:
- type: custom:button-card
template: default