I’m trying to sum up the power of my UPS, to integrate it in the new Energy dashboard
- platform: integration
source: sensor.ups_load
name: ups_load_total
unit_prefix: k
unit_time: min
round: 3
method: left
And the sensor.ups_load
itself is computed as follow:
- platform: template
ups_watts:
friendly_name: "UPS Load"
unit_of_measurement: "W"
device_class: 'power'
value_template: "{{ states.sensor.nutdev1_load.state | float * 6 | int }}"
The UPS Load itself is fine :
But the ups_load_total
is always “unavailable”.
Any idea?