Files
sarah/config/lovelace/hallway_dashboard/leaving_home_dashboard.yaml
T
2021-04-30 18:51:16 +03:00

69 lines
2.2 KiB
YAML

type: custom:layout-card
layout: horizontal
max_columns: 2
cards:
- type: vertical-stack
cards:
- type: custom:button-card
template: [hallway_dashboard_mode]
- type: custom:weather-card
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: vertical-stack
cards:
- type: grid
square: false
columns: 4
cards:
- type: custom:button-card
template: [small, with_state_background, cover]
entity: cover.living_room
name: LR Cover
tap_action:
action: call-service
service: script.toggle_living_room_cover
- type: custom:button-card
template: [small, with_state_background]
entity: binary_sensor.living_room_right_window
name: Living room
- type: custom:button-card
template: [small, with_state_background]
entity: binary_sensor.bedroom_left_window
name: Bedroom left
- type: custom:button-card
template: [small, with_state_background]
entity: binary_sensor.bedroom_right_window
name: Bedroom right
- type: custom:button-card
template: [small, with_state_background]
entity: binary_sensor.kitchen_window
name: Kitchen
- type: custom:button-card
template: [small, with_state_background]
entity: binary_sensor.front_door
- type: custom:button-card
template: [small, with_state_background]
entity: binary_sensor.bedroom_door
- type: custom:mini-graph-card
hours_to_show: 72
line_width: 2
entities:
- sensor.dark_sky_precip_probability
- sensor.dark_sky_cloud_coverage
- type: entities
entities:
- type: custom:decluttering-card
template: percentage_card
variables:
- name: Quarantine
- entity: sensor.quarantined_percent
- icon: mdi:percent
- orange: 100
- red: 100
- entity: sensor.quarantine_times_left
name: Times left