Hey all,
I'm using a Sense unit and the Sense integration to get my electrical usage. The integration works as it says on the tin (https://www.home-assistant.io/integrations/sense), specifically the sensors are updated every 60 seconds. This is usually fine, however my elec utility's rate structure requires me to integrate the usage over 30 minute windows for a demand charge. I finally tracked down why I'm not able to predict the bill, and that is because 60 second updates are not fast enough. You can see it in the plot - when something like my oven runs, I get aliasing on the HA integration and that makes my integral value wrong. The utility meter is apparently integrating on a faster delta time.
In short, is there a way I can either tweak the integration's scan rate, request that capability from the developer, or work around this another way?
Thanks in advance!