def __init__(self, address, statename, group, send_message_method,
                 message_callbacks, defaultvalue=None, loop=None):
        """Init the OnOffKeypadLed class."""
        super().__init__(address, statename, group, send_message_method,
                         message_callbacks, defaultvalue)

        self._updatemethod = self._send_status_request
        self._button_status_method = None

        self._loop = loop
        self._send_led_change_lock = asyncio.Lock(loop=self._loop)
        self._button_observer_callbacks = {}
        self._new_value = 0
def __init__ ( self , address , statename , group , send_message_method , message_callbacks , defaultvalue = None , loop = None ) : super ( ) . __init__ ( address , statename , group , send_message_method , message_callbacks , defaultvalue ) self . _updatemethod = self . _send_status_request self . _button_status_method = None self . _loop = loop self . _send_led_change_lock = asyncio . Lock ( loop = self . _loop ) self . _button_observer_callbacks = { } self . _new_value = 0
Init the OnOffKeypadLed class.