Barma-lej / halandroid

Worx Landroid package for Home Assistant based on Landroid Cloud by @MTrab
MIT License
112 stars 49 forks source link

NoneType error when trying to control mower #47

Closed spiralfive closed 2 years ago

spiralfive commented 2 years ago

On Home Assistant 2022.4.4 (fresh install) - I was/am getting this error when trying to setup this integration for the first time:

  File "/config/custom_components/landroid_cloud/__init__.py", line 216, in handle_start
    ID = int(call.data["id"])
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

All of the images/etc and statuses are correct otherwise.

I have a solution that got me past this error that I am not sure is correct - I will create a pull request shortly.

spiralfive commented 2 years ago

Well, it appears the issue is upstream - another person already reported the issue and I created the pull request there - https://github.com/MTrab/landroid_cloud/issues/105