File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -481,11 +481,13 @@ def refreshAttributes(self):
481481 self ._zoneBNightTargetTemp = None ;
482482 self ._zoneBAntiiceTargetTemp = None ;
483483
484- # nbImpuls coded in hex on 2 registers
485- self ._nbImpuls = self .hex2reg (DDREGISTER .NB_IMPULS_DIX , DDREGISTER .NB_IMPULS_UNIT );
486-
487- # fctBrul coded in hex on 2 registers
488- self ._fctBrul = self .hex2reg (DDREGISTER .FCT_BRUL_DIX , DDREGISTER .FCT_BRUL_UNIT );
484+ #for Diematic Delta regulator only
485+ if type (self ).__name__ == "DiematicDeltaPanel" :
486+ # nbImpuls coded in hex on 2 registers
487+ self ._nbImpuls = self .hex2reg (DDREGISTER .NB_IMPULS_DIX , DDREGISTER .NB_IMPULS_UNIT );
488+
489+ # fctBrul coded in hex on 2 registers
490+ self ._fctBrul = self .hex2reg (DDREGISTER .FCT_BRUL_DIX , DDREGISTER .FCT_BRUL_UNIT );
489491
490492 self .updateCallback ();
491493
You can’t perform that action at this time.
0 commit comments