Closed rboy1 closed 4 years ago
Track and report the energy updates from the device, take power input from the user
Changed line 192 to fix some math:
state.lastKWh = (state.lastKWh ?: 0.0) + ((watts ?: 0.0) (lrv/3.333)) / (60 60 * 1000)
Track and report the energy updates from the device, take power input from the user