Improve hallway dashboard

This commit is contained in:
2021-01-16 02:16:41 +02:00
parent 2bc5d1c2ce
commit eef344ba5e
3 changed files with 23 additions and 58 deletions
@@ -185,63 +185,24 @@ cards:
- type: custom:button-card
template: [brita_water, small]
- type: horizontal-stack
cards:
- type: custom:button-card
template: [xs, progress]
entity: sensor.multisensor_6_temperature
name: Living room
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template: [xs, progress]
entity: sensor.bedroom_weather_temperature
name: Bedroom
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template: [xs, progress]
entity: sensor.kitchen_weather_temperature
name: Kitchen
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template: [xs, progress]
entity: sensor.bathroom_weather_temperature
name: Bathroom
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template: [xs, progress]
entity: sensor.hallway_weather_temperature
name: Hallway
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card
template: [xs, progress]
entity: sensor.guest_bedroom_weather_temperature
name: G. Bedroom
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: "custom:mini-graph-card"
name: Temperature
icon: mdi:thermometer
entities:
- sensor.average_temperature
cache: false
group_by: hour
hours_to_show: 72
line_width: 2
- type: "custom:mini-graph-card"
name: Humidity
icon: mdi:water-percent
entities:
- sensor.average_humidity
cache: false
group_by: hour
hours_to_show: 72
line_width: 2
- type: horizontal-stack
cards:
- type: custom:button-card
template: [humidity_button, xs]
entity: sensor.multisensor_6_relative_humidity
name: Living room
- type: custom:button-card
template: [humidity_button, xs]
entity: sensor.bedroom_weather_humidity
name: Bedroom
- type: custom:button-card
template: [humidity_button, xs]
entity: sensor.kitchen_weather_humidity
name: Kitchen
- type: custom:button-card
template: [humidity_button, xs]
entity: sensor.bathroom_weather_humidity
name: Bathroom
- type: custom:button-card
template: [humidity_button, xs]
entity: sensor.hallway_weather_humidity
name: Hallway
- type: custom:button-card
template: [humidity_button, xs]
entity: sensor.guest_bedroom_weather_humidity
name: G. Bedroom
@@ -162,7 +162,7 @@ cards:
- type: custom:button-card
template: [small, with_state_background]
entity: vacuum.vacuum
name: Va
name: Vacuum
- type: markdown
content: !include ../../templates/partials/tasks.yaml
@@ -17,3 +17,7 @@ script:
- service: media_player.media_stop
entity_id: group.all_sonos
- service: script.dashboards_light_down
- service: input_select.select_option
entity_id: input_select.hallway_dashboard_mode
data:
option: "Coming Home"