MerossIot: [MEROSS-API-CHANGED] missing 1 required positional argument: 'skill_number'
Hello, I have an issue with the latest version : File “/usr/local/lib/python3.7/dist-packages/meross_iot/manager.py”, line 343, in async_device_discovery http_devices = await self._http_client.async_list_devices() File “/usr/local/lib/python3.7/dist-packages/meross_iot/http_api.py”, line 417, in async_list_devices return [HttpDeviceInfo.from_dict(x) for x in result] File “/usr/local/lib/python3.7/dist-packages/meross_iot/http_api.py”, line 417, in <listcomp> return [HttpDeviceInfo.from_dict(x) for x in result] File “/usr/local/lib/python3.7/dist-packages/meross_iot/model/shared.py”, line 27, in from_dict obj = cls(**new_dict)
With this code (it’s the call async_device_discovery that generate the error)
http_api_client = await MerossHttpClient.async_from_user_password(args.muser, args.mpswd)
logger.debug("Connected with user " + args.muser)
# Register event handlers for the manager...
manager = MerossManager(http_client=http_api_client)
await manager.async_init()
await manager.async_device_discovery()
Could you help me ?
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 18 (7 by maintainers)
Commits related to this issue
- Fix #274 — committed to albertogeniola/MerossIot by albertogeniola a year ago
Hi, that’s a change on the Meross Cloud API that is breaking the library. I am now working to fix it.
For the ones using this library, you can now upgrade to v0.4.5.4, which includes the hotfix. Please let me know if that solves the issue.
You’re a legend, it is all working fine now, thanks!!
@albertogeniola enjoy your coffee!