mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-26 12:47:18 +02:00
Fixed divider for AC Current
This commit is contained in:
parent
809dec69c7
commit
31aba4d722
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ class HM1500_Decode0B(StatusResponse):
|
||||||
return self.unpack('>H', 46)[0]/10
|
return self.unpack('>H', 46)[0]/10
|
||||||
@property
|
@property
|
||||||
def ac_current_0(self):
|
def ac_current_0(self):
|
||||||
return self.unpack('>H', 54)[0]/10
|
return self.unpack('>H', 54)[0]/100
|
||||||
@property
|
@property
|
||||||
def ac_power_0(self):
|
def ac_power_0(self):
|
||||||
return self.unpack('>H', 50)[0]/10
|
return self.unpack('>H', 50)[0]/10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue