This repository has been archived on 2023-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
homeassistant-config/lovelace/pfsense/traffic.yaml

64 lines
2.8 KiB
YAML
Raw Normal View History

2022-07-30 15:46:12 +00:00
- type: 'custom:button-card'
template: card_title
name: Traffic
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_wan_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: WAN Incoming
ulm_card_graph_entity: sensor.pfsense_interface_wan_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_wan_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_mullvad1_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Mullvad1 Incoming
ulm_card_graph_entity: sensor.pfsense_interface_mullvad1_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_mullvad1_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_mullvad2_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Mullvad2 Incoming
ulm_card_graph_entity: sensor.pfsense_interface_mullvad2_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_mullvad2_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_lan_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: LAN Incoming
ulm_card_graph_entity: sensor.pfsense_interface_lan_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_lan_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1
- type: 'custom:button-card'
template: card_graph
entity: sensor.pfsense_interface_backend_inbytes_kilobytes_per_second
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Backend Incoming
ulm_card_graph_entity: sensor.pfsense_interface_backend_inbytes_kilobytes_per_second
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.pfsense_interface_backend_outbytes_kilobytes_per_second
ulm_card_graph_type: fill
ulm_card_graph_hours: 1