def __init__(self, plm, address, cat, subcat, product_key=None,
                 description=None, model=None):
        """Init the SwichedLightingControlKeypad device class."""
        super().__init__(plm, address, cat, subcat, product_key,
                         description, model)

        self._leds = OnOffKeypadLed(
            self._address, "keypadLEDs", 0x00, self._send_msg,
            self._message_callbacks, 0x00, self._plm.loop)

        self._stateList[0x01] = OnOffKeypadA(
            self._address, "keypadButtonMain", 0x01, self._send_msg,
            self._message_callbacks, 0x00, self._leds)
def __init__ ( self , plm , address , cat , subcat , product_key = None , description = None , model = None ) : super ( ) . __init__ ( plm , address , cat , subcat , product_key , description , model ) self . _leds = OnOffKeypadLed ( self . _address , "keypadLEDs" , 0x00 , self . _send_msg , self . _message_callbacks , 0x00 , self . _plm . loop ) self . _stateList [ 0x01 ] = OnOffKeypadA ( self . _address , "keypadButtonMain" , 0x01 , self . _send_msg , self . _message_callbacks , 0x00 , self . _leds )
Init the SwichedLightingControlKeypad device class.