This commit is contained in:
darthsandmann
2022-08-30 18:42:25 +02:00
parent 79919e5857
commit 853c1d1716
73 changed files with 3902 additions and 1210 deletions

View File

@ -1,59 +0,0 @@
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_title
name: Climate
- view_layout:
grid-area: "card1"
type: custom:button-card
template: custom_card_httpedo13_sun
- view_layout:
grid-area: "card1"
type: "custom:button-card"
template: card_weather
entity: weather.dark_sky
variables:
ulm_card_weather_name: " "
ulm_card_weather_primary_info:
- wind_speed
- precipitation_probability
ulm_card_weather_backdrop:
fade: true
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_graph
entity: sensor.temperature_kai_temperature
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Temperature
ulm_card_graph_entity: sensor.temperature_kai_temperature
ulm_card_graph_color2: "var(--google-green)"
ulm_card_graph_entity2: sensor.temperature_outside_darksky
ulm_card_graph_type: fill
ulm_card_graph_hours: 6
- type: "horizontal-stack"
cards:
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_kai_humidity
variables:
ulm_card_generic_name: Humidity
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_kai_pressure
variables:
ulm_card_generic_name: Pressure

View File

@ -0,0 +1,56 @@
- type: 'custom:button-card'
template: card_title
name: Recommendation
- type: 'custom:button-card'
template: card_generic
entity: sensor.climate_temp_recommendation
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.temperature_kai_temperature
variables:
ulm_card_generic_swap_name: inside
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.temperature_outside
variables:
ulm_card_generic_swap_name: outside
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.climate_temp_difference
variables:
ulm_card_generic_swap_name: difference
- type: custom:apexcharts-card
graph_span: 6h
header:
show: false
series:
- entity: sensor.temperature_kai_temperature
type: line
name: Inside
group_by:
func: avg
duration: 30min
- entity: sensor.temperature_outside
type: column
name: Outside
group_by:
func: avg
duration: 30min
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.climate_temp
variables:
ulm_card_generic_swap_name: target
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.climate_temp_min
- type: 'custom:button-card'
template: card_generic_swap
entity: sensor.climate_temp_max

60
lovelace/climate/setup.yaml Executable file
View File

@ -0,0 +1,60 @@
- type: "vertical-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: Day/Night
- type: custom:button-card
template: custom_card_httpedo13_sun
- type: "horizontal-stack"
cards:
- type: "custom:button-card"
template:
- card_input_datetime
entity: input_datetime.climate_morning
variables:
ulm_card_input_datetime_name: Day begins at
- type: "custom:button-card"
template:
- card_input_datetime
entity: input_datetime.climate_night
variables:
ulm_card_input_datetime_name: Day ends at
- type: "vertical-stack"
cards:
- type: 'custom:button-card'
template: card_title
name: Target Temperature
- type: "horizontal-stack"
cards:
- type: "custom:button-card"
template: card_input_number
entity: input_number.climate_temp_day
variables:
ulm_card_input_number_name: Day
- type: "custom:button-card"
template: card_input_number
entity: input_number.climate_temp_night
variables:
ulm_card_input_number_name: Night
- type: "horizontal-stack"
cards:
- type: "custom:button-card"
template: card_input_number
entity: input_number.climate_temp
variables:
ulm_card_input_number_name: Manual
- type: "custom:button-card"
template: card_input_number
entity: input_number.climate_temp_accuracy
variables:
ulm_card_input_number_name: Accuracy
- type: "vertical-stack"
cards:
- type: 'custom:button-card'
template: card_input_boolean
entity: input_boolean.climate_auto
variables:
ulm_card_input_boolean_name: Automatic

View File

@ -1,39 +0,0 @@
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_title
name: Energy
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_graph
entity: sensor.schreibtisch_current_consumption
variables:
ulm_card_graph_color: "var(--google-green)"
ulm_card_graph_name: Desk
ulm_card_graph_entity: sensor.schreibtisch_current_consumption
ulm_card_graph_type: fill
ulm_card_graph_hours: 12
- type: "horizontal-stack"
cards:
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_generic
entity: sensor.schreibtisch_today_s_consumption
variables:
ulm_card_generic_name: Today
ulm_card_generic_icon: "mdi:home-lightning-bolt"
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_generic
entity: sensor.schreibtisch_total_consumption
variables:
ulm_card_generic_name: Total
ulm_card_generic_icon: "mdi:home-lightning-bolt"

View File

@ -1,52 +0,0 @@
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_title
name: Lights
- type: "horizontal-stack"
cards:
- view_layout:
grid-area: "card1"
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
- view_layout:
grid-area: "card1"
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
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_input_boolean
entity: switch.circadian_lighting_circadian_lighting
variables:
ulm_card_input_boolean_name: Circadian Lighting
- view_layout:
grid-area: "card1"
type: "custom:button-card"
template: "card_light"
entity: light.all_indirect
variables:
ulm_card_light_enable_color: true
ulm_card_light_enable_slider: true
ulm_card_light_enable_popup: true
ulm_input_select_option: light indirect
ulm_input_select: input_select.minimalist_ui_switch

31
lovelace/lights/adaptive.yaml Executable file
View File

@ -0,0 +1,31 @@
- type: 'custom:button-card'
template: card_title
name: Adaptive
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_default
variables:
ulm_card_input_boolean_name: Adaptive
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_sleep_mode_default
variables:
ulm_card_input_boolean_name: Sleep
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_adapt_brightness_default
variables:
ulm_card_input_boolean_name: Brightness
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_adapt_color_default
variables:
ulm_card_input_boolean_name: Color

20
lovelace/lights/lightbulbs.yaml Executable file
View File

@ -0,0 +1,20 @@
- type: 'custom:button-card'
template: card_title
name: Light Bulbs
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling
ulm_card_light_enable_collapse: true
ulm_card_light_name: Ceiling
entity: light.ceiling
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: true
ulm_card_light_name: Bed
entity: light.bed_ceiling

View File

@ -0,0 +1,23 @@
- type: 'custom:button-card'
template: card_title
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: true
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'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Direct
ulm_card_light_enable_collapse: true
ulm_card_light_name: Direct
entity: light.all_direct

59
lovelace/lights/lightmenu.yaml Executable file
View File

@ -0,0 +1,59 @@
- type: 'custom:button-card'
template: card_title
name: Menu Control
- type: 'custom:button-card'
template: card_generic
entity: timer.pos_timer
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Left Incr
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_left_incr
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Right Incr
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_right_incr
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Up
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_up
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Down
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_down
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: input_number.pos_left
- type: 'custom:button-card'
template: card_generic
entity: input_number.pos_right

View File

@ -0,0 +1,21 @@
- type: 'custom:button-card'
template: card_title
name: Light Stripes
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: true
ulm_card_light_name: Bed
entity: light.bed
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Desk
ulm_card_light_enable_collapse: true
ulm_card_light_name: Desk
entity: light.desk

28
lovelace/welcome.yaml → lovelace/lights/scenes.yaml Normal file → Executable file
View File

@ -1,28 +1,22 @@
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
- type: 'custom:button-card'
template: card_title
name: Home Assistant
- view_layout:
grid-area: "card1"
type: "custom:button-card"
template: "card_welcome_scenes"
triggers_update: input_boolean.welcome_collapse
entity: input_boolean.welcome_collapse
name: Scenes
- type: "custom:button-card"
template:
- card_scenes
variables:
ulm_card_welcome_scenes_collapse: input_boolean.welcome_collapse
ulm_weather: "weather.dark_sky"
entity_1:
entity_id: scene.light_flux
entity_id: scene.light_adaptive
icon: "mdi:theme-light-dark"
icon_color: "yellow"
name: "Flux"
name: "Adaptive"
bg_color: "yellow"
entity_2:
entity_id: scene.light_blue
entity_id: scene.light_bright
icon: "mdi:television-play"
icon_color: "blue"
name: "Blue"
name: "Bright"
bg_color: "blue"
entity_3:
entity_id: "scene.light_night"
@ -37,7 +31,7 @@
name: "All On"
bg_color: "green"
entity_5:
entity_id: "scene.light_alloff"
entity_id: "script.light_store_off"
icon: "mdi:lightbulb-group-off-outline"
icon_color: "red"
name: "All Off"

View File

@ -1,15 +1,11 @@
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_title
name: Batteries
#- type: 'custom:button-card'
# template: card_title
# name: Batteries
- type: "horizontal-stack"
cards:
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
- type: 'custom:button-card'
template: card_battery
entity: sensor.iphone_battery_level
variables:
@ -18,9 +14,7 @@
ulm_card_battery_battery_level_warning: 80
ulm_card_battery_name: iPhone
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
- type: 'custom:button-card'
template: card_battery
entity: sensor.ipad_battery_level
variables:

68
lovelace/overview/climate.yaml Executable file
View File

@ -0,0 +1,68 @@
#- type: 'custom:button-card'
# template: card_title
# name: Climate
- type: custom:apexcharts-card
graph_span: 6h
header:
show: false
series:
- entity: sensor.temperature_kai_temperature
type: line
name: Inside
group_by:
func: avg
duration: 15min
- entity: sensor.temperature_outside
type: column
name: Outside
group_by:
func: avg
duration: 15min
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_kai_temperature
variables:
ulm_card_generic_name: Inside
- type: 'custom:button-card'
template: card_generic
entity: sensor.climate_temp_difference_inside_outside
variables:
ulm_card_generic_name: Diff Outside
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_inside_feelslike
variables:
ulm_card_generic_name: Inside Feelslike
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_outside_feelslike
variables:
ulm_card_generic_name: Outside Feelslike
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_kai_humidity
variables:
ulm_card_generic_name: Humidity
- type: 'custom:button-card'
template: card_generic
entity: sensor.temperature_kai_pressure
variables:
ulm_card_generic_name: Pressure
- type: weather-forecast
entity: weather.home

34
lovelace/overview/energy.yaml Executable file
View File

@ -0,0 +1,34 @@
#- type: 'custom:button-card'
# template: card_title
# name: Energy
- type: custom:apexcharts-card
graph_span: 12h
header:
show: false
series:
- entity: sensor.desk_current_consumption
name: Consumption
curve: smooth
type: line
group_by:
duration: 10min
func: avg
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: sensor.desk_today_s_consumption
variables:
ulm_card_generic_name: Today
ulm_card_generic_icon: "mdi:home-lightning-bolt"
- type: 'custom:button-card'
template: card_generic
entity: sensor.desk_total_consumption
variables:
ulm_card_generic_name: Total
ulm_card_generic_icon: "mdi:home-lightning-bolt"

26
lovelace/overview/feed.yaml Executable file
View File

@ -0,0 +1,26 @@
- type: 'custom:home-feed-card'
title: Feed
card_id: main_feed
show_empty: false
more_info_on_tap: true
state_color: true
compact_mode: true
entities:
- entity: sensor.climate_temp_recommendation
name: Recommendation
content_template: '{{state}}'
# - entity: binary_sensor.warning_duisburg_stadt_1
# exclude_states:
# - "Safe"
# - entity: binary_sensor.warning_duisburg_stadt_2
# exclude_states:
# - "Safe"
# - entity: binary_sensor.warning_duisburg_stadt_3
# exclude_states:
# - "Safe"
# - entity: binary_sensor.warning_duisburg_stadt_4
# exclude_states:
# - "Safe"
# - entity: binary_sensor.warning_duisburg_stadt_5
# exclude_states:
# - "Safe"

35
lovelace/overview/lights.yaml Executable file
View File

@ -0,0 +1,35 @@
#- type: 'custom:button-card'
# template: card_title
# name: Lights
- 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: true
ulm_card_light_name: Indirect
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: true
ulm_card_light_name: Direct
entity: light.all_direct
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_default
variables:
ulm_card_input_boolean_name: Adaptive
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_sleep_mode_default
variables:
ulm_card_input_boolean_name: Sleep

View File

@ -0,0 +1,15 @@
#- type: 'custom:button-card'
# template: card_title
# name: Multimedia
- type: "custom:button-card"
template: card_media_player
entity: media_player.denon_avr_x1100w
name: Denon
variables:
ulm_card_media_player_more_info: true
ulm_card_media_player_collapsible: true
ulm_card_media_player_enable_volume_slider: true
ulm_card_media_player_enable_controls: true
ulm_card_media_player_enable_art: false

16
lovelace/nas.yaml → lovelace/overview/nas.yaml Normal file → Executable file
View File

@ -1,15 +1,11 @@
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
template: card_title
name: NAS
#- type: 'custom:button-card'
# template: card_title
# name: NAS
- type: "horizontal-stack"
cards:
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: WOL
@ -20,9 +16,7 @@
service_data:
entity_id: switch.server
- view_layout:
grid-area: "card1"
type: 'custom:button-card'
- type: 'custom:button-card'
template: card_binary_sensor
variables:
ulm_card_binary_sensor_alert: true

20
lovelace/overview/vacuum.yaml Executable file
View File

@ -0,0 +1,20 @@
#- type: 'custom:button-card'
# template: card_title
# name: Vacuum
- type: 'custom:valetudo-map-card'
vacuum: valetudo_rockrobo
title:
show_status: false
show_battery_level: false
show_start_button: false
show_pause_button: false
show_stop_button: false
show_home_button: false
show_locate_button: false
- type: "custom:button-card"
template: "card_vacuum"
entity: vacuum.valetudo_rockrobo

42
lovelace/overview/welcome.yaml Executable file
View File

@ -0,0 +1,42 @@
#- type: 'custom:button-card'
# template: card_title
# name: Home Assistant
- type: "custom:button-card"
template: "card_welcome_scenes"
triggers_update: input_boolean.welcome_collapse
entity: input_boolean.welcome_collapse
variables:
ulm_card_welcome_scenes_collapse: input_boolean.welcome_collapse
ulm_weather: weather.home
entity_1:
entity_id: scene.light_adaptive
icon: "mdi:theme-light-dark"
icon_color: "yellow"
name: "Adaptive"
bg_color: "yellow"
entity_2:
entity_id: scene.light_bright
icon: "mdi:television-play"
icon_color: "blue"
name: "Bright"
bg_color: "blue"
entity_3:
entity_id: "scene.light_night"
icon: "mdi:weather-night"
icon_color: "purple"
name: "Night"
bg_color: "purple"
# entity_4:
# entity_id: "script.light_store_restore"
# icon: "mdi:lightbulb-group"
# icon_color: "green"
# name: "All On"
# bg_color: "green"
# entity_5:
# entity_id: "script.light_store_off"
# icon: "mdi:lightbulb-group-off-outline"
# icon_color: "red"
# name: "All Off"
# bg_color: "red"

87
lovelace/pfsense/gateways.yaml Executable file
View 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 Executable file
View 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 %"

View 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 Executable file
View 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"

92
lovelace/pfsense/traffic.yaml Executable file
View File

@ -0,0 +1,92 @@
- type: 'custom:button-card'
template: card_title
name: Traffic
- type: custom:apexcharts-card
graph_span: 2h
apex_config:
chart:
height: 250px
series:
- entity: sensor.pfsense_interface_wan_inbytes_kilobytes_per_second
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: WAN In
- entity: sensor.pfsense_interface_wan_outbytes_kilobytes_per_second
invert: true
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: WAN Out
- type: custom:apexcharts-card
graph_span: 2h
apex_config:
chart:
height: 250px
series:
- entity: sensor.pfsense_interface_mullvad1_inbytes_kilobytes_per_second
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: Mullvad1 In
- entity: sensor.pfsense_interface_mullvad1_outbytes_kilobytes_per_second
invert: true
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: Mullvad1 Out
- entity: sensor.pfsense_interface_mullvad2_inbytes_kilobytes_per_second
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: Mullvad2 In
- entity: sensor.pfsense_interface_mullvad2_outbytes_kilobytes_per_second
invert: true
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: Mullvad2 Out
- type: custom:apexcharts-card
graph_span: 2h
apex_config:
chart:
height: 250px
series:
- entity: sensor.pfsense_interface_lan_inbytes_kilobytes_per_second
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: LAN In
- entity: sensor.pfsense_interface_lan_outbytes_kilobytes_per_second
invert: true
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: LAN Out
- entity: sensor.pfsense_interface_backend_inbytes_kilobytes_per_second
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: Backend In
- entity: sensor.pfsense_interface_backend_outbytes_kilobytes_per_second
invert: true
stroke_width: 2
type: area
transform: return x / 1024;
unit: Mb/s
name: Backend In

View File

@ -1,16 +0,0 @@
- type: custom:state-switch
view_layout:
grid-area: popup
show:
mediaquery: "(min-width: 1100px)"
entity: input_select.minimalist_ui
default: default
transition: slide-down
transition_time: 500
states:
## Lights
light indirect:
type: "custom:button-card"
template: "popup_light_brightness"
variables:
ulm_popup_light_entity: lights.all_indirect

View File

@ -1,36 +0,0 @@
- view_layout:
grid-area: "card1"
type: "custom:button-card"
template: "card_title"
name: "Card 1 Testing"
label: "grid-area: card1"
- view_layout:
grid-area: "card1"
type: "custom:button-card"
template: "card_light"
entity: "light.all_indirect"
variables:
ulm_card_light_enable_color: true
ulm_card_light_enable_slider: true
ulm_card_light_enable_popup: true
ulm_input_select_option: light 1
ulm_input_select: input_select.minimalist_ui_switch
- type: custom:state-switch
view_layout:
grid-area: popup
show:
mediaquery: "(min-width: 1100px)"
entity: input_select.minimalist_ui # put your input_select here
default: default
transition: slide-down
transition_time: 500
states:
## Lights
light 1:
type: "custom:button-card"
template: "popup_light_brightness"
variables:
ulm_popup_light_entity: light.all_indirect