I’ve been playing around with the new built-in Energy integration. I have set everything up, found the documentation for utility meters to select different tariffs.
The problem now with utility meters is that a cycle reset is required so the counter goes back to 0 every hour, month, day, year, etc… The problem is that when I do a reset, let’s say daily, the energy integration substracts the accumulated value and the next reading I get a negative value.
I’ve been checking this documentation but can’t get it to work.
This is my utility meter setup, the sensor is a Efergy
So I don’t know if this is with the new update or not. I went to energy configurator and a message showed up saying that device class was set as measurement (as seen in the open post) and not as total_increasing.
I’ve changed it and I will update if that fixed the problem
Thanks I am trying it. In 15 minutes I will see if it works.
If I remember correctly I needed to use customization in order to utility meters show up in energy grip consumption select, maybe I’m wrong and I mixed things since I started without utility meters.
As per this post. I’ve taken some smart plugs that report in W and converted to kWh - then to a template to get into the energy dashboard as individual devices.
After a quick exchange with Mike - the dev behind the awesome Actron Que HA Plugin for a ducted Air Conditioner available in Australia, he’s found the entity for the compressor power of the system and added it to his addon.
I’ve now added these sensors to my configuration.yaml so can now see the power usage of my aircon in my “Individual Devices” section of the HA Energy Dashboard.
UPDATE: Was making my life way too complicated. Integration Sensors now work without additional sensors right in the Energy Dashboard - just a minor customize section in customize.yaml.
sensor:
#Integration Sensors
- platform: integration
source: sensor.air_conditioner_compressor_power
name: Air Conditioner Compressor Energy Spent
unit_prefix: k
method: left
then this added to customize.yaml :
sensor.air_conditioner_compressor_energy_spent:
last_reset: '1970-01-01T00:00:00+00:00'
state_class: 'total_increasing'
device_class: energy
unit_of_measurement: kWh