Update dashboards

This commit is contained in:
2020-11-29 19:08:51 +02:00
parent accdef9d55
commit 5d8d790cba
11 changed files with 80 additions and 204 deletions
@@ -112,9 +112,7 @@
styles: *on_styles
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: switch.titanium
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
@@ -158,9 +156,7 @@
entity: switch.camera
name: Camera
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: fan.philips_airpurifier
variables:
state_indicator_id: binary_sensor.purifier_filter_needs_change
@@ -179,9 +175,7 @@
title: Manual controls
cards:
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: input_boolean.alarm_enabled
state_display: >-
[[[
@@ -231,17 +225,13 @@
entity: binary_sensor.trisensor_motion
name: Desk
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: binary_sensor.kitchen_motion_occupancy
name: Kitchen
variables:
state_indicator_id: automation.lighting_kitchen_day_mode_motion_turn_lights_on
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: binary_sensor.hallway_motion_occupancy
name: Hallway
variables:
@@ -286,16 +276,12 @@
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.average_temperature
icon: mdi:thermometer
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.average_humidity
icon: mdi:water-percent
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"