I have a few powerCalc generated energy sensors that were working fine until recently. Since a few days (probably after the latest updates of PowerCalc and HA Core), I notice sudden jumps in the energy sensor values when the device is turned on. For example, a geyser that has a fixed power of 2000W when “on” and 0 W when “off” registers an energy jump of about 12 kWh the instant it is turned on. After that, it proceeds to increase linearly with time, as expected. So the energy graph shows an unexpected sudden large step at the instant of turning on the appliance. Thereafter, it slopes upwards. Anyone else facing this issue? What may be the reason for this anomaly?
This is the configuration of on of the devices that has the issue:
{"created_at":"2024-12-09T16:19:30.308830+00:00","data":{"_energy_entity":"sensor.common_geyser_energy","_power_entity":"sensor.common_geyser_powersensor","create_energy_sensor":true,"create_utility_meters":true,"energy_integration_method":"trapezoidal","energy_sensor_unit_prefix":"k","entity_id":"switch.common_bathroom_common_geyser_switch","fixed":{"power":2000.0},"ignore_unavailable_state":true,"mode":"fixed","name":"Common Geyser","sensor_type":"virtual_power","standby_power":0.0,"unavailable_power":0.0,"utility_meter_net_consumption":false,"utility_meter_offset":0.0,"utility_meter_tariffs":[],"utility_meter_types":["daily","weekly","monthly"]},"disabled_by":null,"discovery_keys":{},"domain":"powercalc","entry_id":"01JEP3FYW46XWNCYFXHEDE5AFV","minor_version":1,"modified_at":"2024-12-09T16:19:30.315976+00:00","options":{},"pref_disable_new_entities":false,"pref_disable_polling":false,"source":"user","title":"Common Geyser","unique_id":"50e7d7d2-dd25-40f0-afc2-d6310a20ce76","version":4},