Conversation
Thank you for the lib allowing us to manage our levoit devices in home assistant ! The levoit 6000s I received in Canada wasn't working when using the test script as it wasn't matching current mapping list. I updated it and re-ran the test script and can now see the informations: ``` Caller: VeSyncSuperior6000S.call_bypassv2_api [devices.vesynchumidifier] API CALL to endpoint: /cloud/v2/deviceManaged/bypassV2 Host: smartapi.vesync.com Full URL: https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2 Response Status: 200 Method: POST ---------------Request----------------- Request Headers: { "Content-Type": "application/json; charset=UTF-8", "User-Agent": "okhttp/3.12.1" } Request Body: { "acceptLanguage": "en", "accountID": "##_REDACTED_##", "appVersion": "5.6.60", "cid": "##_REDACTED_##", "configModule": "VS_WFON_AHM_LEH-S602S-WUS_US", "debugMode": false, "method": "bypassV2", "phoneBrand": "pyvesync", "phoneOS": "Android", "traceId": "1767886110", "timeZone": "America/New_York", "token": "##_REDACTED_##", "userCountryCode": "CA", "deviceId": "vsaq2a123d34875ac14f97a24f06c8c3", "configModel": "VS_WFON_AHM_LEH-S602S-WUS_US", "payload": { "data": {}, "method": "getHumidifierStatus", "source": "APP" } } ---------------Response----------------- Response Headers: { "Date": "Thu, 08 Jan 2026 15:28:31 GMT", "Content-Type": "application/json;charset=UTF-8", "Transfer-Encoding": "chunked", "Connection": "keep-alive", "Content-Encoding": "gzip" } Response Body: { "traceId": "1767886110", "code": 0, "msg": "request success", "module": null, "stacktrace": null, "result": { "traceId": "1767886110", "code": 0, "result": { "powerSwitch": 1, "humidity": 50, "targetHumidity": 50, "virtualLevel": 9, "mistLevel": 3, "workMode": "humidity", "waterLacksState": 0, "waterTankLifted": 0, "autoStopSwitch": 1, "autoStopState": 1, "screenSwitch": 1, "screenState": 1, "scheduleCount": 0, "timerRemain": 0, "errorCode": 0, "totalWorkTime": 57360, "autoPreference": 1, "childLockSwitch": 0, "filterLifePercent": 100, "temperature": 629, "maxLevelNotify": 0, "waterShortageDryingSwitch": 1, "humidityPreference": 1, "dryingMode": { "dryingLevel": 2, "autoDryingSwitch": 1, "dryingState": 2, "dryingRemain": 7200 }, "isSupportSensor": 1, "sensorContent": { "sensorStatus": "noDevices" }, "lastDryingCompletedTime": 1767816954, "afterDryLastHumidityTime": 1767833536 } } } 2026-01-08 10:28:31 - DEBUG - pyvesync.devices.vesynchumidifier - Superior 6000S for LEH-S602S-WUS API from get_details returned code: 0, message: Success Random await finished Device list pulled successfully. 2026-01-08 10:28:32 - DEBUG - pyvesync.vesync - Closing session, exiting context manager 2026-01-08 10:28:32 - DEBUG - pyvesync.vesync - Closing session, exiting context manager ``` --------- Co-authored-by: Joe Trabulsy <jtrabulsy@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.