Files
N22/dashboards/views/08_energy.yaml
T

169 lines
4.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
title: Energi
path: energi
icon: mdi:flash
type: sections
sections:
# ⚡ Strømpris
- type: grid
cards:
- type: heading
heading: Strømpris
- type: tile
entity: sensor.energi_data_service
name: Nuværende pris (kr/kWh)
- type: history-graph
title: Strømpris sidste 24 timer
entities:
- sensor.energi_data_service
hours_to_show: 24
refresh_interval: 60
# 🏠 Hjemmets energiforbrug
- type: grid
cards:
- type: heading
heading: Forbrug
- type: sensor
entity: sensor.home_energy_usage
name: Aktuelt forbrug
- type: history-graph
title: Forbrug sidste 24 timer
entities:
- sensor.home_energy_usage
hours_to_show: 24
refresh_interval: 60
- type: history-graph
title: Forbrug sidste 7 dage
entities:
- sensor.home_energy_usage
hours_to_show: 168
refresh_interval: 300
# 🔋 Batteri / lager
- type: grid
cards:
- type: heading
heading: Batteri
- type: sensor
entity: sensor.home_battery_level
name: Batteri %
- type: sensor
entity: sensor.home_battery_charge
name: Ladehastighed
# Zigbee stik med strømmåling
- type: grid
cards:
- type: heading
heading: Zigbee stik
# Aktuel effekt alle stik samlet
- type: history-graph
title: Effekt lige nu (W)
entities:
- entity: sensor.stik_alrum_effekt
name: Alrum
- entity: sensor.stik_kontor_effekt
name: Kontor
- entity: sensor.stik_bad_effekt
name: Badeværelse
- entity: sensor.stik_lillebad_effekt
name: Lille bad
hours_to_show: 6
refresh_interval: 30
# Individuelle stik med tænd/sluk + effekt
- type: tile
entity: switch.stik_alrum
name: Alrum
secondary_info: sensor.stik_alrum_effekt
icon: mdi:power-plug
features:
- type: toggle
- type: tile
entity: switch.stik_kontor
name: Kontor
secondary_info: sensor.stik_kontor_effekt
icon: mdi:power-plug
features:
- type: toggle
- type: tile
entity: switch.stik_bad
name: Badeværelse
secondary_info: sensor.stik_bad_effekt
icon: mdi:power-plug
features:
- type: toggle
- type: tile
entity: switch.stik_lillebad
name: Lille bad
secondary_info: sensor.stik_lillebad_effekt
icon: mdi:power-plug
features:
- type: toggle
# Akkumuleret energiforbrug (kWh) pr. stik
- type: statistics-graph
title: Energiforbrug (kWh)
entities:
- entity: sensor.stik_alrum_summation_delivered
name: Alrum
- entity: sensor.stik_kontor_summation_delivered
name: Kontor
- entity: sensor.stik_bad_summation_delivered
name: Badeværelse
- entity: sensor.stik_lillebad_summation_delivered
name: Lille bad
period: day
days_to_show: 7
chart_type: bar
stat_types:
- change
# 💡 Automations / kontrol
- type: grid
cards:
- type: heading
heading: Automations
- type: button
name: Stop opladning Tesla
icon: mdi:car-electric
tap_action:
action: call-service
service: tesla.stop_charge
target:
entity_id: vacuum.snowywhite
- type: button
name: Start opladning Tesla
icon: mdi:car-electric
tap_action:
action: call-service
service: tesla.start_charge
target:
entity_id: vacuum.snowywhite
- type: button
name: Tænd/Sluk tungt forbrug
icon: mdi:flash
tap_action:
action: toggle
entity: switch.heavy_load