Changes to allow zero values until cloud data catches up, etc. changed rounding to 3 for Watts for low readings, changed cost to TOTAL in HA instead of TOTOALINCREASING and handle only getting the latest cost.
How Has This Been Tested?
Ran the code for last 2 days and works as expected.
Types of changes
[X ] Bug fix (non-breaking change which fixes an issue)
Description
Changes to allow zero values until cloud data catches up, etc. changed rounding to 3 for Watts for low readings, changed cost to TOTAL in HA instead of TOTOALINCREASING and handle only getting the latest cost.
How Has This Been Tested?
Ran the code for last 2 days and works as expected.
Types of changes