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
darthsandmann 11f6f5eed3 pfsense
2022-07-30 17:46:12 +02:00

64 lines
2.8 KiB
YAML

- 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