mikey0000 / Mammotion-HA

Home Assistant integration for Luba, Luba 2 and Yuka (Mammotion) lawn mowers
149 stars 21 forks source link

Unknown error occurred #175

Open jasonmadigan opened 4 hours ago

jasonmadigan commented 4 hours ago

The problem

Integration stopped working a day or two ago after an update. Deleting the integration and re-adding, I get a Unknown error occurred error in config flow, and this in the logs:

File "/config/custom_components/mammotion/config_flow.py", line 189, in async_step_wifi
File "/config/custom_components/mammotion/config_flow.py", line 271, in async_step_wifi_confirm
self._cloud_client = await Mammotion().login(account, password)
File "/usr/local/lib/python3.12/site-packages/pymammotion/mammotion/devices/mammotion.py", line 241, in login
File "/usr/local/lib/python3.12/site-packages/pymammotion/aliyun/cloud_gateway.py", line 153, in get_region

What Mammotion mower are you using?

Luba 2

What version of the Mammotion intergration are you using?

latest

What version of Home Assistant Core are you running?

core-2024.10.2

mikey0000 commented 3 hours ago

Thanks for the bug report. I'm currently overseas for a bit but will take a look when I'm back.

mikey0000 commented 3 hours ago

On that, please do retry to add it, it's likely a timeout or something like that.