(self)
return response
Initialize a sync module.
Initialize a sync module.
Initialize a sync module .
def sync_initialize(self):
        """Initialize a sync module."""
        response = api.request_syncmodule(self.blink, self.network_id)
        try:
            self.summary = response["syncmodule"]
            self.network_id = self.summary["network_id"]
        except (TypeError, KeyError):
            _LOGGER.error(
                "Could not retrieve sync module information with response: %s", response
            )
            return False
        return response
def sync_initialize ( self ) : response = api . request_syncmodule ( self . blink , self . network_id ) try : self . summary = response [ "syncmodule" ] self . network_id = self . summary [ "network_id" ] except ( TypeError , KeyError ) : _LOGGER . error ( "Could not retrieve sync module information with response: %s" , response ) return False return response