def initialize_dynamic_attributes(self): attrs = PoolTimerableDevice.initialize_dynamic_attributes(self) non_detect_evts = "data", for attr_name in non_detect_evts: if attr_name in attrs: self.set_change_event(attr_name, True, False)
def initialize_dynamic_attributes(self): attrs = PoolTimerableDevice.initialize_dynamic_attributes(self) non_detect_evts = "valuebuffer", for attr_name in non_detect_evts: if attr_name in attrs: self.set_change_event(attr_name, True, False)
def initialize_dynamic_attributes(self): attrs = PoolTimerableDevice.initialize_dynamic_attributes(self) # referable channels # TODO: not 100% sure if valuereftemplate and valuerefenabled should # not belong to detect_evts non_detect_evts = ("valuebuffer", "valueref", "valuerefbuffer", "valuereftemplate", "valuerefenabled") for attr_name in non_detect_evts: if attr_name in attrs: self.set_change_event(attr_name, True, False)