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: cards:
- type: custom:button-card - type: horizontal-stack
template: default cards:
entity: binary_sensor.bedroom_right_window_on_off_wrapper - type: custom:button-card
name: Bedroom template:
- type: custom:button-card - small
template: - progress
- small entity: sensor.multisensor_6_temperature
- progress name: Living room
entity: sensor.bedroom_weather_temperature state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
variables: - type: custom:button-card
degrees: 200 template:
- type: custom:button-card - small
template: - progress
- small entity: sensor.trisensor_temperature
- progress name: Desk
entity: sensor.bedroom_weather_humidity state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
variables: - type: custom:button-card
min_value: 25 template:
max_value: 90 - small
normal_value: 40 - progress
high_value: 65 entity: sensor.living_room_thermostat_temperature
low_color: "var(--color-red)" name: Radiator
degrees: 200 state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
entity: sensor.bedroom_weather_temperature
name: Bedroom
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- small
- progress
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:
min_value: 25
max_value: 90
normal_value: 40
high_value: 65
low_color: "var(--color-red)"
- 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