Completely new Energy monitoring, with cumulative import, export and consumption.
This commit is contained in:
23
sensors.yaml
23
sensors.yaml
@@ -69,3 +69,26 @@
|
||||
friendly_name: "Sun Setting Template"
|
||||
value_template: "{{ as_timestamp(states.sun.sun.attributes.next_setting) | timestamp_custom ('%H:%M') }}"
|
||||
|
||||
# Sensor for Riemann sum of energy import (W -> Wh)
|
||||
- platform: integration
|
||||
source: sensor.power_import
|
||||
name: energy_import_sum
|
||||
unit_prefix: k
|
||||
round: 2
|
||||
method: left
|
||||
|
||||
# Sensor for Riemann sum of energy export (W -> Wh)
|
||||
- platform: integration
|
||||
source: sensor.power_export
|
||||
name: energy_export_sum
|
||||
unit_prefix: k
|
||||
round: 2
|
||||
method: left
|
||||
|
||||
# Sensor for Riemann sum of energy consumption (W -> Wh)
|
||||
- platform: integration
|
||||
source: sensor.power_consumption
|
||||
name: energy_consumption_sum
|
||||
unit_prefix: k
|
||||
round: 2
|
||||
method: left
|
||||
|
Reference in New Issue
Block a user