Files
fresh-home/lovelace/view-power-breaker copy.yaml

859 lines
30 KiB
YAML

title: Power Breaker
path: power-breaker
icon: mdi:electric-switch
panel: true
visible:
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
- user: cad46dedf86f454ebbd7f697a58730f2
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: picture-elements
image: /local/background100.png
elements:
- type: state-label
entity: sensor.pm_grid_w
style:
font-size: 300%
left: 50%
top: 50%
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_grid_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
- type: picture-elements
image: /local/background100.png
elements:
- type: state-label
entity: sensor.pm_grid_kwh
style:
font-size: 300%
left: 50%
top: 50%
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
# Well
- type: picture-elements
image: /local/background200.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 200
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_grid_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Kitchen 1
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_kitchen_1_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Kitchen 2
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_kitchen_1_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Laundry Plug
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_kitchen_1_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Microwave Plug
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_microwave_plug_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Bathroom Plug
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_microwave_plug_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Heat Pump
- type: picture-elements
image: /local/background200.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 200
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_heat_pump_w
name: Heat Pump
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Basement Bedroom Lights and Plugs
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_microwave_plug_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Basement Plugs
- type: picture-elements
image: /local/background50.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 50
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_basement_plugs_w
name: Basement
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Basement Bath Lights and Plugs
- type: picture-elements
image: /local/background50.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 50
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_microwave_plug_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
#Sump Pump Plug
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_sump_pump_plug_w
name: Sump
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
- type: vertical-stack
cards:
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: picture-elements
image: /local/background100.png
elements: []
- type: vertical-stack
cards:
# Nursery Kitchen and Dining
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_nursery_dining_kitchen_lights_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Master Bed and Bath Lights
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_kitchen_1_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Furnace
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_furnace_w
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Basement and Stair Lights
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_microwave_plug_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Dishwasher
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_microwave_plug_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Garage and Outside Lights
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_heat_pump_w
name: Heat Pump
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Front Room and Plugs
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_front_room_plugs_w
name: Front Room
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Garage & Outside Plugs
- type: picture-elements
image: /local/background100.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 100
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_basement_plugs_w
name: Basement
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Stove
- type: picture-elements
image: /local/background200.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 200
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_stove_w
name: Microwave
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"
# Dryer
- type: picture-elements
image: /local/background200.png
elements:
- type: "custom:mini-graph-card"
style:
top: 50%
left: 50%
width: 100%
height: 100%
line_width: 3
height: 200
align_header: left
align_icon: right
align_state: center
aggregate_func: max
hours_to_show: 24
points_per_hour: 4
update_interval: 30
group: true
entities:
- entity: sensor.pm_dryer_w
name: Dryer
show:
icon: false
name: false
state: false
extrema: false
color_thresholds:
- value: 500
color: "#77FF77"
- value: 2000
color: "#FFFF77"
- value: 8000
color: "#FF7777"