Open matthid opened 3 years ago
@matthid Your device is standardized, try again.
@tsutsuku thanks for the fast feedback, at least it doesn't crash anymore and I can see it in Home Assistant, but the mode is still broken: When trying to set the mode via Home Assistant the following happens: heat -> cool cool -> cool dry -> fan auto -> does nothing fan only -> does nothing
When setting the mode on the device, Home Assistant shows the following: Cool -> cool Fan -> shows "dry" Dry -> no changes (whatever home assistant has shown previously) Heat -> no changes (whatever home assistant has shown previously)
Which I believe matches what I have reported initially.
Device normal info
移动空调 YPF1-低功耗版本
Device info (please complete the following information, which can be found in log):
Device specifications (please complete the following information, which can be found in log):
Additional debugging info
It seems like the code cannot handle the status the device is sending, as the log shows:
I tried around with the Python SDK, and it seems like most commands work as expected but the
mode
-code is a bit broken. The device supports 4 modes (cool, fan, dry, heat), and the API behaves like this:[{"code": "mode", "value": "hot"}]
via API the device will switch to 'cool' mode (and report 'clod')[{"code": "mode", "value": "wet"}]
via API the device will switch to 'fan' mode (and report 'wet')Note the device works perfectly fine in the Smart Life-App (including reading and writing of all modes)