HandyHat / ha-hildebrandglow-dcc

Home Assistant integration for UK SMETS (Smart) meters pulling data from the DCC via the Hildebrand Glow API
MIT License
239 stars 36 forks source link

Add Cumulative Sensor #49

Closed ColinRobbins closed 3 years ago

ColinRobbins commented 3 years ago

Description

This pull adds a cumulative sensor, showing usage since the start of the year.

Motivation and Context

With this fix, the missing 30 minutes will be recorded in the totals for week/month/year seen by the Energy integration, although upto 30 minutes of data may still be recorded against the wrong day. I cannot see a solution to this without using a Hildebrand hardware device.

How Has This Been Tested?

Running in local development environment.

Types of changes

HandyHat commented 3 years ago

Looks great. Thanks @ColinRobbins!