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
@@ -5,9 +5,6 @@ cards:
entities:
- input_boolean.magic_cube_enabled
- input_select.magic_cube_mode
- sensor.cube_analog_input
- sensor.cube_multistate_input
- sensor.cube_power
- type: divider
- sensor.carbon_activity
- sensor.carbon_last_update_trigger
@@ -1,4 +1,2 @@
default:
template:
- small
- with_state_background
template: [small, with_state_background]
@@ -1,9 +1,7 @@
brita_water_card:
card:
type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
name: Brita water
entity: script.brita_pour_water
custom_fields:
@@ -1,10 +1,7 @@
purifier_target_humidity:
card:
type: custom:button-card
template:
- small
- progress
- with_state_indicator
template: [small, progress, with_state_indicator]
entity: sensor.purifier_target_humidity
tap_action:
action: call-service
@@ -39,9 +39,7 @@ media_with_controls:
service_data:
playlist: "Retro"
- type: custom:button-card
template:
- xs
- with_state_background
template: [xs, with_state_background]
entity: binary_sensor.sonos_is_bedroom_master
name: Bedroom
icon: mdi:speaker-multiple
@@ -49,9 +47,7 @@ media_with_controls:
action: call-service
service: script.sonos_join_bedroom
- type: custom:button-card
template:
- xs
- with_state_background
template: [xs, with_state_background]
entity: binary_sensor.sonos_is_living_room_master
name: TV
icon: mdi:speaker-multiple
@@ -43,9 +43,7 @@
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: input_boolean.alarm_enabled
state_display: >-
[[[
@@ -65,18 +63,14 @@
template: default
entity: binary_sensor.house_mode
- type: custom:button-card
template:
- default
- scene
template: [default, scene]
entity: script.scene_bedroom_neon
name: Neon
variables:
scene_color_1: rgb(255, 0, 190)
scene_color_2: rgb(0, 255, 190)
- type: custom:button-card
template:
- default
- scene
template: [default, scene]
entity: script.scene_bedroom_regular
name: Regular
variables:
@@ -90,9 +84,7 @@
variables:
- entity_id: climate.bedroom_radiator_mode
- 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
@@ -43,17 +43,13 @@
entity: binary_sensor.front_door
name: Front door
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: binary_sensor.hallway_motion_occupancy
name: Motion
variables:
state_indicator_id: automation.lighting_hallway_motion_on
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.hallway_motion_illuminance
name: Lux
variables:
@@ -78,9 +78,7 @@
- value: 'idle'
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
@@ -101,17 +99,13 @@
entity: binary_sensor.kitchen_window
name: Window
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: binary_sensor.kitchen_motion_occupancy
name: Motion
variables:
state_indicator_id: automation.lighting_kitchen_day_mode_motion_turn_lights_on
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.kitchen_motion_illuminance
name: Lux
variables:
@@ -119,9 +113,7 @@
max_value: 1000
normal_value: 1000
- type: custom:button-card
template:
- default
- with_state_indicator
template: [default, with_state_indicator]
entity: binary_sensor.hallway_motion_occupancy
name: Hallway
variables:
@@ -48,8 +48,6 @@
styles:
card:
- height: 46px
- type: horizontal-stack
title: Devices
cards:
@@ -77,9 +75,7 @@
- value: 'idle'
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
@@ -103,6 +99,15 @@
- entity_id: climate.living_room_radiator_mode
- type: custom:decluttering-card
template: ac_button_card
- type: custom:button-card
template: [small, progress]
entity: sensor.desk_outlet_power
name: Desk power
variables:
min_value: 1
max_value: 800
normal_value: 100
high_value: 300
- type: vertical-stack
cards:
@@ -111,6 +116,18 @@
variables:
- player: media_player.living_room
- player_name: Living room
- type: vertical-stack
title: Camera
cards:
- type: picture-glance
camera_image: camera.amcrest_camera
entities:
- entity: camera.amcrest_camera
- entity: switch.camera
show_state: false
- entity: binary_sensor.amcrest_camera_online
show_state: false
- type: vertical-stack
title: Sensors
@@ -122,96 +139,31 @@
entity: binary_sensor.living_room_right_window
name: Window
- type: custom:button-card
template:
- default
- with_state_indicator
template: default
entity: binary_sensor.trisensor_motion
name: Desk
- type: custom:button-card
template: default
entity: binary_sensor.multisensor_motion
name: Door
- type: custom:button-card
template: [default, with_state_indicator]
entity: binary_sensor.hallway_motion_occupancy
name: Hallway
variables:
state_indicator_id: automation.lighting_hallway_motion_on
- type: custom:button-card
template:
- small
- progress
entity: sensor.desk_outlet_power
name: Desk power
variables:
min_value: 1
max_value: 800
normal_value: 100
high_value: 300
- type: horizontal-stack
title: Tri Sensor
cards:
- type: custom:button-card
template:
- small
- progress
entity: sensor.trisensor_temperature
name: Temperature
- type: custom:button-card
template:
- small
- progress
entity: sensor.trisensor_luminance
name: Lux
- type: custom:button-card
template: default
entity: binary_sensor.trisensor_motion
name: Motion
- type: custom:decluttering-card
template: climate_card
variables:
- title: "Climate"
- main_entity: sensor.trisensor_temperature
- left_entity: sensor.multisensor_6_temperature
- left_name: Temperature (6)
- right_entity: sensor.multisensor_6_relative_humidity
- right_name: Humidity (6)
- type: horizontal-stack
title: Multi Sensor
cards:
- type: custom:button-card
template:
- small
- progress
entity: sensor.multisensor_6_temperature
name: Temperature
- type: custom:button-card
template:
- small
- progress
entity: sensor.multisensor_6_luminance
name: Lux
- type: custom:button-card
template: default
entity: binary_sensor.multisensor_motion
name: Motion
- type: horizontal-stack
title: More
cards:
- type: custom:button-card
template:
- small
- progress
entity: sensor.living_room_radiator_temperature
name: Radiator temperature
- type: custom:button-card
template:
- small
- progress
entity: sensor.multisensor_6_relative_humidity
name: Multi Humidity
- type: custom:button-card
template:
- small
- progress
entity: sensor.multisensor_6_ultraviolet
name: Multi UV
- type: vertical-stack
title: Camera
cards:
- type: picture-glance
camera_image: camera.amcrest_camera
entities:
- entity: camera.amcrest_camera
- entity: switch.camera
show_state: false
- entity: binary_sensor.amcrest_camera_online
show_state: false
- type: custom:button-card
template: [small, progress]
entity: sensor.living_room_radiator_temperature
name: Radiator temperature
@@ -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) + ' %' ]]]"
+14 -42
View File
@@ -336,60 +336,44 @@ sensor.average_temperature:
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.multisensor_6_temperature
name: Living room
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.trisensor_temperature
name: Desk
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.living_room_radiator_temperature
name: Radiator
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
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
template: [small, progress]
entity: sensor.kitchen_weather_temperature
name: Kitchen
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.bathroom_weather_temperature
name: Bathroom
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.hallway_weather_temperature
name: Hallway
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.guest_bedroom_weather_temperature
name: G. Bedroom
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
@@ -413,9 +397,7 @@ sensor.average_humidity:
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.multisensor_6_relative_humidity
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
name: Living room
@@ -426,9 +408,7 @@ sensor.average_humidity:
high_value: 65
low_color: "var(--color-red)"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.bedroom_weather_humidity
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
name: Bedroom
@@ -439,9 +419,7 @@ sensor.average_humidity:
high_value: 65
low_color: "var(--color-red)"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.kitchen_weather_humidity
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
name: Kitchen
@@ -454,9 +432,7 @@ sensor.average_humidity:
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.bathroom_weather_humidity
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
name: Bathroom
@@ -467,9 +443,7 @@ sensor.average_humidity:
high_value: 65
low_color: "var(--color-red)"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.hallway_weather_humidity
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
name: Hallway
@@ -480,9 +454,7 @@ sensor.average_humidity:
high_value: 65
low_color: "var(--color-red)"
- type: custom:button-card
template:
- small
- progress
template: [small, progress]
entity: sensor.guest_bedroom_weather_humidity
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
name: G. Bedroom