Files
sarah/config/lovelace/home_dashboard/kitchen_dashboard.yaml
T
2021-10-08 12:55:42 +03:00

81 lines
2.5 KiB
YAML

- type: custom:mod-card
style:
layout-card:
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 2
cards:
- type: vertical-stack
title: Kitchen
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: default
entity: light.kitchen
name: Kitchen
- type: custom:button-card
template: default
entity: light.kitchen_main
name: Main
- type: custom:button-card
template: default
entity: light.kitchen_secondary
name: Secondary
- type: vertical-stack
cards:
- type: custom:button-card
template: half
entity: light.hallway_entrance
name: Entrance
- type: custom:button-card
template: half
entity: light.hallway_main
name: Hallway
styles:
card:
- height: 46px
- type: horizontal-stack
title: Devices
cards:
- type: custom:button-card
template: brita_water
- type: custom:button-card
template: radiator_button
entity: climate.kitchen_radiator_mode
- type: custom:button-card
template: default
entity: vacuum.vacuum
name: Vacuum
- type: custom:button-card
template: default
entity: binary_sensor.kitchen_window
name: Window
- type: custom:decluttering-card
template: media_with_controls
variables:
- player: media_player.kitchen
- player_name: Kitchen
- 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