Compare commits
2 Commits
dda10f05a5
...
11f6f5eed3
Author | SHA1 | Date | |
---|---|---|---|
|
11f6f5eed3 | ||
|
3d77f07f68 |
@ -2,31 +2,35 @@
|
|||||||
template: card_title
|
template: card_title
|
||||||
name: Light Bulbs
|
name: Light Bulbs
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- type: "horizontal-stack"
|
||||||
template: card_light_slider_collapse
|
cards:
|
||||||
variables:
|
- type: 'custom:button-card'
|
||||||
ulm_card_light_slider_collapse_name: Ceiling 1
|
template: card_light_slider_collapse
|
||||||
ulm_card_light_enable_collapse: false
|
variables:
|
||||||
ulm_card_light_name: Ceiling 1
|
ulm_card_light_slider_collapse_name: Ceiling 1
|
||||||
entity: light.ceiling1
|
ulm_card_light_enable_collapse: false
|
||||||
- type: 'custom:button-card'
|
ulm_card_light_name: Ceiling 1
|
||||||
template: card_light_slider_collapse
|
entity: light.ceiling1
|
||||||
variables:
|
- type: 'custom:button-card'
|
||||||
ulm_card_light_slider_collapse_name: Ceiling 2
|
template: card_light_slider_collapse
|
||||||
ulm_card_light_enable_collapse: false
|
variables:
|
||||||
ulm_card_light_name: Ceiling 2
|
ulm_card_light_slider_collapse_name: Ceiling 2
|
||||||
entity: light.ceiling2
|
ulm_card_light_enable_collapse: false
|
||||||
- type: 'custom:button-card'
|
ulm_card_light_name: Ceiling 2
|
||||||
template: card_light_slider_collapse
|
entity: light.ceiling2
|
||||||
variables:
|
- type: "horizontal-stack"
|
||||||
ulm_card_light_slider_collapse_name: Ceiling 3
|
cards:
|
||||||
ulm_card_light_enable_collapse: false
|
- type: 'custom:button-card'
|
||||||
ulm_card_light_name: Ceiling 3
|
template: card_light_slider_collapse
|
||||||
entity: light.ceiling3
|
variables:
|
||||||
- type: 'custom:button-card'
|
ulm_card_light_slider_collapse_name: Ceiling 3
|
||||||
template: card_light_slider_collapse
|
ulm_card_light_enable_collapse: false
|
||||||
variables:
|
ulm_card_light_name: Ceiling 3
|
||||||
ulm_card_light_slider_collapse_name: Bed
|
entity: light.ceiling3
|
||||||
ulm_card_light_enable_collapse: false
|
- type: 'custom:button-card'
|
||||||
ulm_card_light_name: Bed
|
template: card_light_slider_collapse
|
||||||
entity: light.bed_ceiling
|
variables:
|
||||||
|
ulm_card_light_slider_collapse_name: Bed
|
||||||
|
ulm_card_light_enable_collapse: false
|
||||||
|
ulm_card_light_name: Bed
|
||||||
|
entity: light.bed_ceiling
|
@ -2,21 +2,22 @@
|
|||||||
template: card_title
|
template: card_title
|
||||||
name: Light Groups
|
name: Light Groups
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_light_slider_collapse
|
||||||
|
variables:
|
||||||
|
ulm_card_light_slider_collapse_name: Indirect
|
||||||
|
ulm_card_light_enable_collapse: false
|
||||||
|
ulm_card_light_name: Indirect
|
||||||
|
ulm_input_select_option: light indirect
|
||||||
|
ulm_input_select: input_select.minimalist_ui_switch
|
||||||
|
entity: light.all_indirect
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
template: card_light_slider_collapse
|
template: card_light_slider_collapse
|
||||||
variables:
|
variables:
|
||||||
ulm_card_light_slider_collapse_name: Indirect
|
ulm_card_light_slider_collapse_name: Direct
|
||||||
ulm_card_light_enable_collapse: false
|
ulm_card_light_enable_collapse: false
|
||||||
ulm_card_light_name: Indirect
|
ulm_card_light_name: Direct
|
||||||
ulm_input_select_option: light indirect
|
entity: light.all_direct
|
||||||
ulm_input_select: input_select.minimalist_ui_switch
|
|
||||||
entity: light.all_indirect
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
|
||||||
template: card_light_slider_collapse
|
|
||||||
variables:
|
|
||||||
ulm_card_light_slider_collapse_name: Direct
|
|
||||||
ulm_card_light_enable_collapse: false
|
|
||||||
ulm_card_light_name: Direct
|
|
||||||
entity: light.all_direct
|
|
@ -2,18 +2,20 @@
|
|||||||
template: card_title
|
template: card_title
|
||||||
name: Light Stripes
|
name: Light Stripes
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- type: "horizontal-stack"
|
||||||
template: card_light_slider_collapse
|
cards:
|
||||||
variables:
|
- type: 'custom:button-card'
|
||||||
ulm_card_light_slider_collapse_name: Bed
|
template: card_light_slider_collapse
|
||||||
ulm_card_light_enable_collapse: false
|
variables:
|
||||||
ulm_card_light_name: Bed
|
ulm_card_light_slider_collapse_name: Bed
|
||||||
entity: light.bed
|
ulm_card_light_enable_collapse: false
|
||||||
|
ulm_card_light_name: Bed
|
||||||
|
entity: light.bed
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
template: card_light_slider_collapse
|
template: card_light_slider_collapse
|
||||||
variables:
|
variables:
|
||||||
ulm_card_light_slider_collapse_name: Desk
|
ulm_card_light_slider_collapse_name: Desk
|
||||||
ulm_card_light_enable_collapse: false
|
ulm_card_light_enable_collapse: false
|
||||||
ulm_card_light_name: Desk
|
ulm_card_light_name: Desk
|
||||||
entity: light.desk
|
entity: light.desk
|
87
lovelace/pfsense/gateways.yaml
Normal file
87
lovelace/pfsense/gateways.yaml
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: WAN
|
||||||
|
label: IPv4
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_wan_gw_delay
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Delay
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_wan_gw_loss
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Loss
|
||||||
|
|
||||||
|
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: Mullvad
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: 1
|
||||||
|
label: IPv4
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad1gw_delay
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Delay
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad1gw_loss
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Loss
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: 1
|
||||||
|
label: IPv6
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad1gwv6_delay
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Delay
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad1gwv6_loss
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Loss
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: 2
|
||||||
|
label: IPv4
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad2gw_delay
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Delay
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad2gw_loss
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Loss
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: 2
|
||||||
|
label: IPv6
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad2gwv6_delay
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Delay
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_gateway_mullvad2gwv6_loss
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: Loss
|
36
lovelace/pfsense/load.yaml
Normal file
36
lovelace/pfsense/load.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: Load Average
|
||||||
|
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic
|
||||||
|
entity: sensor.pfsense_cpu_load_average_one_minute
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_name: 1m
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic
|
||||||
|
entity: sensor.pfsense_cpu_load_average_five_minute
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_name: 5m
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic
|
||||||
|
entity: sensor.pfsense_cpu_load_average_fifteen_minute
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_name: 15m
|
||||||
|
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_memory_used_percentage
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: "Memory Used %"
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_generic_swap
|
||||||
|
entity: sensor.pfsense_memory_swap_used_percentage
|
||||||
|
variables:
|
||||||
|
ulm_card_generic_swap_name: "Swap Used %"
|
11
lovelace/pfsense/notifications.yaml
Normal file
11
lovelace/pfsense/notifications.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: Notifications
|
||||||
|
|
||||||
|
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_binary_sensor
|
||||||
|
variables:
|
||||||
|
ulm_card_binary_sensor_alert: true
|
||||||
|
ulm_show_last_changed: false
|
||||||
|
entity: binary_sensor.pfsense_pending_notices_present
|
19
lovelace/pfsense/rules.yaml
Normal file
19
lovelace/pfsense/rules.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: Firewall Rules
|
||||||
|
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.pfsense_filter_rule_1602620992_disablemullvadtower
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: "LAN: Disable Mullvad PC"
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.pfsense_filter_rule_1608907801_disablemullvadnetflixtower
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: "LAN: Bypass Netflix PC"
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.pfsense_filter_rule_1602623476_route_ipad_netflix_to_wan
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: "LAN: Bypass Netflix iPad"
|
64
lovelace/pfsense/traffic.yaml
Normal file
64
lovelace/pfsense/traffic.yaml
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
- 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
|
@ -11,27 +11,21 @@ views:
|
|||||||
- title: "Overview"
|
- title: "Overview"
|
||||||
path: 0
|
path: 0
|
||||||
cards:
|
cards:
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/welcome.yaml
|
!include lovelace/overview/welcome.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/lights.yaml
|
!include lovelace/overview/lights.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/climate.yaml
|
!include lovelace/overview/climate.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/batteries.yaml
|
!include lovelace/overview/batteries.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/energy.yaml
|
!include lovelace/overview/energy.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/nas.yaml
|
!include lovelace/overview/nas.yaml
|
||||||
@ -40,19 +34,35 @@ views:
|
|||||||
- title: "Lights"
|
- title: "Lights"
|
||||||
path: 1
|
path: 1
|
||||||
cards:
|
cards:
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/lights/scenes.yaml
|
!include lovelace/lights/scenes.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/lights//lightgroups.yaml
|
!include lovelace/lights/lightgroups.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/lights/lightbulbs.yaml
|
!include lovelace/lights/lightbulbs.yaml
|
||||||
|
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/lights/lightstripes.yaml
|
!include lovelace/lights/lightstripes.yaml
|
||||||
|
|
||||||
|
|
||||||
|
- title: "pfSense"
|
||||||
|
path: 2
|
||||||
|
cards:
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/pfsense/notifications.yaml
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/pfsense/load.yaml
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/pfsense/gateways.yaml
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/pfsense/traffic.yaml
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/pfsense/rules.yaml
|
Reference in New Issue
Block a user