Add network card

This commit is contained in:
2020-04-24 00:54:45 +03:00
parent d4ccead35e
commit 838a9b5dca
5 changed files with 94 additions and 44 deletions
@@ -0,0 +1,59 @@
network_card:
default:
- title:
- icon:
card:
type: vertical-stack
cards:
- type: entities
title: "[[title]]"
icon: "[[icon]]"
entities:
- type: custom:dummy-entity-row
entity: sensor.fast_com_download
name: Open admin UI
icon: mdi:firefox
tap_action:
action: url
url_path: http://router.lan
- type: "custom:mini-graph-card"
animate: true
points_per_hour: 1
hours_to_show: 72
show:
graph: bar
average: true
extrema: true
entities:
- entity: sensor.fast_com_download
- type: "custom:mini-graph-card"
animate: true
points_per_hour: 1
hours_to_show: 72
show:
graph: bar
average: true
extrema: true
entities:
- entity: sensor.speedtest_download
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
points_per_hour: 0.3
hours_to_show: 72
font_size: 75
line_color: var(--accent-color)
line_width: 6
entities:
- sensor.speedtest_upload
- type: custom:mini-graph-card
font_size: 75
points_per_hour: 0.3
hours_to_show: 72
line_color: var(--accent-color)
line_width: 6
entities:
- sensor.speedtest_ping