async def METHOD_NAME(
    self,
    accesspoint_id,
    lookup=True,
    lookup_url="https://lookup.homematic.com:48335/getHost",
    **kwargs
):
    self.set_token_and_characteristics(accesspoint_id)
    self._lookup_url = lookup_url  # needed for testcases
    if lookup:
        result = await self.api_call(
            lookup_url, json.dumps(self.clientCharacteristics), full_url=True
        )
        self._urlREST = result["urlREST"]
        self._urlWebSocket = result["urlWebSocket"]
    else:  # pragma: no cover
        self._urlREST = "https://ps1.homematic.com:6969"
        self._urlWebSocket = "wss://ps1.homematic.com:8888"