@@ -335,7 +335,7 @@ def __init__(
335335 self ._dbusservice .add_path ("/ProductId" , 0xFFFF )
336336 self ._dbusservice .add_path ("/ProductName" , productname )
337337 self ._dbusservice .add_path ("/CustomName" , customname )
338- self ._dbusservice .add_path ("/FirmwareVersion" , "0.1.8-dev (20250307 )" )
338+ self ._dbusservice .add_path ("/FirmwareVersion" , "0.1.8 (20250331 )" )
339339 # self._dbusservice.add_path('/HardwareVersion', '')
340340 self ._dbusservice .add_path ("/Connected" , 1 )
341341
@@ -376,7 +376,7 @@ def _update(self):
376376 self ._dbusservice ["/Ac/L1/Current" ] = round (grid_L1_current , 2 ) if grid_L1_current is not None else None
377377 self ._dbusservice ["/Ac/L1/Voltage" ] = round (grid_L1_voltage , 2 ) if grid_L1_voltage is not None else None
378378 self ._dbusservice ["/Ac/L1/Frequency" ] = round (grid_L1_frequency , 2 ) if grid_L1_frequency is not None else None
379- self ._dbusservice ["/ac /L1/PowerFactor" ] = round (grid_L1_power_factor , 3 ) if grid_L1_power_factor is not None else None
379+ self ._dbusservice ["/Ac /L1/PowerFactor" ] = round (grid_L1_power_factor , 3 ) if grid_L1_power_factor is not None else None
380380 self ._dbusservice ["/Ac/L1/Energy/Forward" ] = round (grid_L1_forward , 2 ) if grid_L1_forward is not None else None
381381 self ._dbusservice ["/Ac/L1/Energy/Reverse" ] = round (grid_L1_reverse , 2 ) if grid_L1_reverse is not None else None
382382 else :
@@ -392,7 +392,7 @@ def _update(self):
392392 self ._dbusservice ["/Ac/L2/Current" ] = round (grid_L2_current , 2 ) if grid_L2_current is not None else None
393393 self ._dbusservice ["/Ac/L2/Voltage" ] = round (grid_L2_voltage , 2 ) if grid_L2_voltage is not None else None
394394 self ._dbusservice ["/Ac/L2/Frequency" ] = round (grid_L2_frequency , 2 ) if grid_L2_frequency is not None else None
395- self ._dbusservice ["/ac /L2/PowerFactor" ] = round (grid_L2_power_factor , 3 ) if grid_L2_power_factor is not None else None
395+ self ._dbusservice ["/Ac /L2/PowerFactor" ] = round (grid_L2_power_factor , 3 ) if grid_L2_power_factor is not None else None
396396 self ._dbusservice ["/Ac/L2/Energy/Forward" ] = round (grid_L2_forward , 2 ) if grid_L2_forward is not None else None
397397 self ._dbusservice ["/Ac/L2/Energy/Reverse" ] = round (grid_L2_reverse , 2 ) if grid_L2_reverse is not None else None
398398
@@ -401,7 +401,7 @@ def _update(self):
401401 self ._dbusservice ["/Ac/L3/Current" ] = round (grid_L3_current , 2 ) if grid_L3_current is not None else None
402402 self ._dbusservice ["/Ac/L3/Voltage" ] = round (grid_L3_voltage , 2 ) if grid_L3_voltage is not None else None
403403 self ._dbusservice ["/Ac/L3/Frequency" ] = round (grid_L3_frequency , 2 ) if grid_L3_frequency is not None else None
404- self ._dbusservice ["/ac /L3/PowerFactor" ] = round (grid_L3_power_factor , 3 ) if grid_L3_power_factor is not None else None
404+ self ._dbusservice ["/Ac /L3/PowerFactor" ] = round (grid_L3_power_factor , 3 ) if grid_L3_power_factor is not None else None
405405 self ._dbusservice ["/Ac/L3/Energy/Forward" ] = round (grid_L3_forward , 2 ) if grid_L3_forward is not None else None
406406 self ._dbusservice ["/Ac/L3/Energy/Reverse" ] = round (grid_L3_reverse , 2 ) if grid_L3_reverse is not None else None
407407
@@ -542,7 +542,7 @@ def _n(p, v):
542542 "/Ac/L1/Current" : {"initial" : 0 , "textformat" : _a },
543543 "/Ac/L1/Voltage" : {"initial" : 0 , "textformat" : _v },
544544 "/Ac/L1/Frequency" : {"initial" : None , "textformat" : _hz },
545- "/ac /L1/PowerFactor" : {"initial" : None , "textformat" : _n },
545+ "/Ac /L1/PowerFactor" : {"initial" : None , "textformat" : _n },
546546 "/Ac/L1/Energy/Forward" : {"initial" : None , "textformat" : _kwh },
547547 "/Ac/L1/Energy/Reverse" : {"initial" : None , "textformat" : _kwh },
548548 "/UpdateIndex" : {"initial" : 0 , "textformat" : _n },
@@ -555,7 +555,7 @@ def _n(p, v):
555555 "/Ac/L2/Current" : {"initial" : 0 , "textformat" : _a },
556556 "/Ac/L2/Voltage" : {"initial" : 0 , "textformat" : _v },
557557 "/Ac/L2/Frequency" : {"initial" : None , "textformat" : _hz },
558- "/ac /L2/PowerFactor" : {"initial" : None , "textformat" : _n },
558+ "/Ac /L2/PowerFactor" : {"initial" : None , "textformat" : _n },
559559 "/Ac/L2/Energy/Forward" : {"initial" : None , "textformat" : _kwh },
560560 "/Ac/L2/Energy/Reverse" : {"initial" : None , "textformat" : _kwh },
561561 }
@@ -568,7 +568,7 @@ def _n(p, v):
568568 "/Ac/L3/Current" : {"initial" : 0 , "textformat" : _a },
569569 "/Ac/L3/Voltage" : {"initial" : 0 , "textformat" : _v },
570570 "/Ac/L3/Frequency" : {"initial" : None , "textformat" : _hz },
571- "/ac /L3/PowerFactor" : {"initial" : None , "textformat" : _n },
571+ "/Ac /L3/PowerFactor" : {"initial" : None , "textformat" : _n },
572572 "/Ac/L3/Energy/Forward" : {"initial" : None , "textformat" : _kwh },
573573 "/Ac/L3/Energy/Reverse" : {"initial" : None , "textformat" : _kwh },
574574 }
0 commit comments