change AC_CURRENT divider to 100

In line 514, ac_current dividor must be 100 not 10
There is a mismatch in AC output: power[Watt] = voltage[Volt] * current[Ampere]
This commit is contained in:
PaeserBastelstube 2023-01-05 18:50:44 +01:00 committed by GitHub
parent f8fe044e1b
commit 93ae88fca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,7 @@ class Hm600Decode0B(StatusResponse):
@property
def ac_current_0(self):
""" Phase 1 ampere """
return self.unpack('>H', 34)[0]/10
return self.unpack('>H', 34)[0]/100
@property
def ac_power_0(self):
""" Phase 1 watts """