async setWifiConfiguration(wifiConfig) {
        if (
            wifiConfig?.ssid !== undefined &&
            wifiConfig.credentials?.type === ValetudoWifiConfiguration.CREDENTIALS_TYPE.WPA2_PSK &&
            wifiConfig.credentials.typeSpecificSettings?.password !== undefined
        ) {
            if (
                !MiioWifiConfigurationCapability.IS_VALID_PARAMETER(wifiConfig.ssid) &&
                wifiConfig.metaData.force !== true
            ) {
                throw new Error(`Due to some broken firmwares, the SSID must not contain any of the following characters: ${INVALID_CHARACTERS.join(" ")}`);
            }

            if (
                !MiioWifiConfigurationCapability.IS_VALID_PARAMETER(wifiConfig.credentials.typeSpecificSettings.password) &&
                wifiConfig.metaData.force !== true
            ) {
                throw new Error(`Due to some broken firmwares, the Password must not contain any of the following characters: ${INVALID_CHARACTERS.join(" ")}`);
            }


            await this.robot.sendCommand(
                "miIO.config_router",
                {
                    "ssid": wifiConfig.ssid,
                    "passwd": wifiConfig.credentials.typeSpecificSettings.password,
                    "uid": 1337, // previously, this was 0, however unfortunately some firmwares of robots such as 0866 of roborock a38 validate it to be non-0
                    "cc": "de",
                    "country_domain": "de",
                    "config_type": "app"
                },
                {
                    interface: "local" //This command will only work when received on the local interface!
                }
            );
        } else {
            throw new Error("Invalid wifiConfig");
        }
    }
@param {import("../../../entities/core/ValetudoWifiConfiguration")} wifiConfig
@returns {Promise<void>}