40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
# power_integral_sensors.yaml
|
|
# Integral energy sensors derived from the existing 3-phase active power sensors.
|
|
#
|
|
# Assumption:
|
|
# - Source sensors are reporting active power in watts (W).
|
|
# - These integrals therefore convert W over time into kWh.
|
|
#
|
|
# Notes:
|
|
# - method: trapezoidal gives smoother and generally more accurate integration.
|
|
# - round: 2 gives a displayed precision of 0.00.
|
|
# - unit_time: h with unit_prefix: k gives kWh output from watt-based inputs.
|
|
|
|
sensor:
|
|
- platform: integration
|
|
source: sensor.main_house_3_phase_power_monitor_main_power_red_active_power
|
|
name: "View Road 3 Phase Power RED (Integral)"
|
|
unique_id: view_road_3_phase_power_red_integral
|
|
method: trapezoidal
|
|
unit_time: h
|
|
unit_prefix: k
|
|
round: 2
|
|
|
|
- platform: integration
|
|
source: sensor.main_house_3_phase_power_monitor_main_power_yellow_active_power
|
|
name: "View Road 3 Phase Power YELLOW (Integral)"
|
|
unique_id: view_road_3_phase_power_yellow_integral
|
|
method: trapezoidal
|
|
unit_time: h
|
|
unit_prefix: k
|
|
round: 2
|
|
|
|
- platform: integration
|
|
source: sensor.main_house_3_phase_power_monitor_main_power_blue_active_power
|
|
name: "View Road 3 Phase Power BLUE (Integral)"
|
|
unique_id: view_road_3_phase_power_blue_integral
|
|
method: trapezoidal
|
|
unit_time: h
|
|
unit_prefix: k
|
|
round: 2
|