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 - type: custom:button-card
template: [brita_water, small] template: [brita_water, small]
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:button-card - type: "custom:mini-graph-card"
template: [xs, progress] name: Temperature
entity: sensor.multisensor_6_temperature icon: mdi:thermometer
name: Living room entities:
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]" - sensor.average_temperature
- type: custom:button-card cache: false
template: [xs, progress] group_by: hour
entity: sensor.bedroom_weather_temperature hours_to_show: 72
name: Bedroom line_width: 2
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]" - type: "custom:mini-graph-card"
- type: custom:button-card name: Humidity
template: [xs, progress] icon: mdi:water-percent
entity: sensor.kitchen_weather_temperature entities:
name: Kitchen - sensor.average_humidity
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]" cache: false
- type: custom:button-card group_by: hour
template: [xs, progress] hours_to_show: 72
entity: sensor.bathroom_weather_temperature line_width: 2
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: 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 - type: custom:button-card
template: [small, with_state_background] template: [small, with_state_background]
entity: vacuum.vacuum entity: vacuum.vacuum
name: Va name: Vacuum
- type: markdown - type: markdown
content: !include ../../templates/partials/tasks.yaml content: !include ../../templates/partials/tasks.yaml
@@ -17,3 +17,7 @@ script:
- service: media_player.media_stop - service: media_player.media_stop
entity_id: group.all_sonos entity_id: group.all_sonos
- service: script.dashboards_light_down - service: script.dashboards_light_down
- service: input_select.select_option
entity_id: input_select.hallway_dashboard_mode
data:
option: "Coming Home"