def __init__(self, plm, address, cat, subcat, product_key=0, description='', model=''): """Init the GeneralController_2342_8 class.""" super().__init__(plm, address, cat, subcat, product_key, description, model) button_list = { 1: 'B', 2: 'A', 3: 'D', 4: 'C', 5: 'F', 6: 'E', 7: 'H', 8: 'G' } for group in button_list: self._stateList[group] = DimmableRemote( self._address, "remoteButton{}".format(button_list[group]), group, self._send_msg, self._message_callbacks, 0x00)
def __init__( self, plm, address, cat, subcat, product_key=0, description="", model="" ): """Init the GeneralController_2342 class.""" super().__init__(plm, address, cat, subcat, product_key, description, model) self._stateList[0x01] = DimmableRemote( self._address, "remoteButton", 0x01, self._send_msg, self._message_callbacks, 0x00, )
def __init__(self, plm, address, cat, subcat, product_key=0, description='', model=''): super().__init__(plm, address, cat, subcat, product_key, description, model) self._stateList[0x01] = DimmableRemote(self._address, "onLevelButton", 0x01, self._send_msg, self._message_callbacks, 0x00)
def __init__( self, plm, address, cat, subcat, product_key=0, description="", model="" ): """Init the GeneralController_2342_8 class.""" super().__init__(plm, address, cat, subcat, product_key, description, model) button_list = {1: "B", 2: "A", 3: "D", 4: "C", 5: "F", 6: "E", 7: "H", 8: "G"} for group in button_list: self._stateList[group] = DimmableRemote( self._address, "remoteButton{}".format(button_list[group]), group, self._send_msg, self._message_callbacks, 0x00, )
def __init__(self, plm, address, cat, subcat, product_key=0, description='', model=''): super().__init__(plm, address, cat, subcat, product_key, description, model) button_list = {1: 'A', 2: 'B', 3: 'C', 4: 'D'} for group in button_list: self._stateList[group] = DimmableRemote( self._address, "onLevelButton{}".format(button_list[group]), group, self._send_msg, self._message_callbacks, 0x00)