Files
sarah/config/lovelace/advanced_dashboard/00_home.yaml
T
2021-06-12 16:06:52 +03:00

73 lines
2.1 KiB
YAML

title: Home
path: default_view
icon: "mdi:home"
panel: true
cards:
- type: custom:mod-card
style:
layout-card:
$:
.: |
#columns {
padding: 0 10px;
}
#columns .column {
padding: 20px 10px;
}
card:
type: custom:layout-card
layout: horzontal
max_columns: 2
cards:
- type: vertical-stack
title: Github
cards:
- type: entities
entities:
- entity: sensor.time_picker_card_downloads
icon: mdi:clock
name: Time Picker Card · Downloads
- entity: sensor.time_picker_card_stars
icon: mdi:star
name: Time Picker Card · Stars
- entity: sensor.folder_card_downloads
icon: mdi:folder
name: Folder Card · Downloads
- entity: sensor.folder_card_stars
icon: mdi:star
name: Slack User · Stars
- entity: sensor.slack_user_stars
icon: mdi:slack
name: Folder Card · Stars
- type: "custom:weather-card"
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: vertical-stack
title: Quarantine
cards:
- type: entities
entities:
- type: custom:decluttering-card
template: percentage_card
variables:
- name: Percent
- entity: sensor.quarantined_percent
- icon: mdi:percent
- orange: 100
- red: 100
- entity: sensor.quarantine_times_left
name: Times left
- type: "custom:travel-time-card"
title: Travel time
columns:
- name
- duration
- distance
entities:
- sensor.home_to_work
- sensor.work_to_home