Rearrange dashboard

This commit is contained in:
2020-05-09 03:57:40 +03:00
parent c6eaa6d3ec
commit 2ddc89b653
@@ -198,32 +198,65 @@
tap_action: tap_action:
action: toggle action: toggle
- type: horizontal-stack - type: vertical-stack
title: Climate title: Climate
cards:
- type: horizontal-stack
cards: cards:
- type: custom:button-card - type: custom:button-card
template: default template:
entity: binary_sensor.bedroom_right_window_on_off_wrapper - small
name: Bedroom - progress
entity: sensor.multisensor_6_temperature
name: Living room
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
entity: sensor.trisensor_temperature
name: Desk
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
entity: sensor.living_room_thermostat_temperature
name: Radiator
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card - type: custom:button-card
template: template:
- small - small
- progress - progress
entity: sensor.bedroom_weather_temperature entity: sensor.bedroom_weather_temperature
variables: name: Bedroom
degrees: 200 state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: horizontal-stack
cards:
- type: custom:button-card - type: custom:button-card
template: template:
- small - small
- progress - progress
entity: sensor.bedroom_weather_humidity entity: sensor.multisensor_6_relative_humidity
name: Living room
variables:
min_value: 25
max_value: 90
normal_value: 40
high_value: 65
low_color: "var(--color-red)"
- type: custom:button-card
template:
- small
- progress
entity: sensor.bedroom_weather_humidity
name: Bedroom
variables: variables:
min_value: 25 min_value: 25
max_value: 90 max_value: 90
normal_value: 40 normal_value: 40
high_value: 65 high_value: 65
low_color: "var(--color-red)" low_color: "var(--color-red)"
degrees: 200
- type: vertical-stack - type: vertical-stack
title: Sensors title: Sensors
@@ -239,6 +272,20 @@
template: default template: default
entity: binary_sensor.living_room_right_window_on_off_wrapper entity: binary_sensor.living_room_right_window_on_off_wrapper
name: Living room name: Living room
- type: custom:button-card
template: default
entity: binary_sensor.bedroom_right_window_on_off_wrapper
name: Bedroom
- type: horizontal-stack
cards:
- type: custom:button-card
template: default
entity: binary_sensor.multisensor_motion
name: Living room
- type: custom:button-card
template: default
entity: binary_sensor.trisensor_motion
name: Desk
- type: custom:button-card - type: custom:button-card
template: template:
- default - default
@@ -268,8 +315,8 @@
service: input_boolean.toggle service: input_boolean.toggle
service_data: service_data:
entity_id: input_boolean.georgi_home entity_id: input_boolean.georgi_home
- type: custom:button-card - type: entity
template: default # template: default
entity: device_tracker.mikrotik_carbon entity: device_tracker.mikrotik_carbon
name: Wifi name: Wifi
- type: custom:button-card - type: custom:button-card