async setDndConfiguration(dndConfig) {

        const res = await this.robot.sendCommand("set_properties", [
            {
                did: this.robot.deviceId,
                siid: this.miot_properties.dnd_enabled.siid,
                piid: this.miot_properties.dnd_enabled.piid,
                value: dndConfig.enabled
            },
            {
                did: this.robot.deviceId,
                siid: this.miot_properties.dnd_start_time.siid,
                piid: this.miot_properties.dnd_start_time.piid,
                value: DreameDoNotDisturbCapability.CONVERT_TO_TIME_STRING(dndConfig.start)
            },
            {
                did: this.robot.deviceId,
                siid: this.miot_properties.dnd_end_time.siid,
                piid: this.miot_properties.dnd_end_time.piid,
                value: DreameDoNotDisturbCapability.CONVERT_TO_TIME_STRING(dndConfig.end)
            }
        ]);

        if (res?.length === 3) {
            if (res[0].code === 0 && res[1].code === 0 && res[2].code === 0) {

                // noinspection UnnecessaryReturnStatementJS
                return;
            } else {
                throw new Error("Error persisting DND settings");
            }
        } else {
            throw new Error("Received invalid response");
        }
    }
@param {ValetudoDNDConfiguration} dndConfig
@returns {Promise<void>}