mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-07 17:34:42 +00:00
Initial implementation of tablet dashboard
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
covid_19:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: glance
|
||||
title: COVID-19 [[name]]
|
||||
show_name: true
|
||||
columns: 4
|
||||
entities:
|
||||
- entity: sensor.[[location]]_coronavirus_confirmed
|
||||
name: Confirmed
|
||||
icon: "mdi:emoticon-confused-outline"
|
||||
- entity: sensor.[[location]]_coronavirus_current
|
||||
name: Current
|
||||
icon: "mdi:emoticon-sad-outline"
|
||||
- entity: sensor.[[location]]_coronavirus_deaths
|
||||
name: Deaths
|
||||
icon: "mdi:emoticon-cry-outline"
|
||||
- entity: sensor.[[location]]_coronavirus_recovered
|
||||
name: Recovered
|
||||
icon: "mdi:emoticon-cool-outline"
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Current
|
||||
animate: true
|
||||
hours_to_show: 168
|
||||
points_per_hour: 0.04
|
||||
font_size: 75
|
||||
icon: "mdi:emoticon-sad-outline"
|
||||
line_color: var(--accent-color)
|
||||
line_width: 8
|
||||
show:
|
||||
state: false
|
||||
entities:
|
||||
- sensor.[[location]]_coronavirus_current
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Deaths
|
||||
animate: true
|
||||
hours_to_show: 168
|
||||
points_per_hour: 0.04
|
||||
font_size: 75
|
||||
icon: "mdi:emoticon-cry-outline"
|
||||
line_color: "#e74c3c"
|
||||
line_width: 8
|
||||
show:
|
||||
state: false
|
||||
entities:
|
||||
- sensor.[[location]]_coronavirus_deaths
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Recovered
|
||||
animate: true
|
||||
hours_to_show: 168
|
||||
points_per_hour: 0.04
|
||||
font_size: 75
|
||||
icon: "mdi:emoticon-cool-outline"
|
||||
line_color: var(--paper-green-400)
|
||||
line_width: 8
|
||||
show:
|
||||
state: false
|
||||
entities:
|
||||
- sensor.[[location]]_coronavirus_recovered
|
||||
@@ -0,0 +1,12 @@
|
||||
light_with_fade_and_switch:
|
||||
card:
|
||||
type: custom:multiple-entity-row
|
||||
entity: "[[light]]"
|
||||
show_state: false
|
||||
entities:
|
||||
- entity: "[[fade]]"
|
||||
name: Fade
|
||||
toggle: true
|
||||
- entity: "[[light]]"
|
||||
name: Switch
|
||||
toggle: true
|
||||
@@ -0,0 +1,23 @@
|
||||
sonos_media_player:
|
||||
card:
|
||||
type: custom:mini-media-player
|
||||
artwork: cover
|
||||
entity: "[[player]]"
|
||||
speaker_group:
|
||||
sync_volume: true
|
||||
entities:
|
||||
- entity_id: media_player.master_bedroom
|
||||
name: Master Bedroom
|
||||
- entity_id: media_player.living_room
|
||||
name: Livingroom
|
||||
- entity_id: media_player.kitchen
|
||||
name: Kitchen
|
||||
- entity_id: media_player.bathroom
|
||||
name: Bathroom
|
||||
hide:
|
||||
power: true
|
||||
icon: true
|
||||
shuffle: false
|
||||
idle_view:
|
||||
when_idle: true
|
||||
when_standby: true
|
||||
Reference in New Issue
Block a user