New user of this integration and I receive the error: Error setting up entry Worx
Describe the issue
I installed the HACS, restarted HA and the integration has a "Failed to set up" error. In the logs it says, Error setting up entry Worx.
What version of Home Assistant Core has the issue?
2025.5.3
What was the last working version of Home Assistant Core?
No response
What version of the Landroid Cloud integration do you have installed
5.2.6
What type of installation are you running?
Home Assistant OS
Which make and model is the mower used for this integration?
Works 155
Diagnostics information (NOT log entries!)
2025-05-27 08:58:32.879 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration landroid_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-05-27 08:58:39.650 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Worx - [email protected] for landroid_cloud Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/landroid_cloud/init.py", line 39, in async_setup_entry result = await _async_setup(hass, entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/landroid_cloud/init.py", line 162, in _async_setup await async_init_device(hass, entry, name, device) File "/config/custom_components/landroid_cloud/init.py", line 175, in async_init_device api = LandroidAPI(hass, name, entry) File "/config/custom_components/landroid_cloud/api.py", line 72, in init self.logger.log(LoggerType.API, "Device: %s", vars(self.device)) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/landroid_cloud/utils/logger.py", line 90, in log else "(" ~~~ + ( ^~~ self.logapi.friendly_name ~~~~~~~~~~~~~~~~~~~~~~~~~ ...<2 lines>... ) ~ TypeError: can only concatenate str (not "NoneType") to str
Relevant log entries
Logger: pyworxcloud.events
Source: /usr/local/lib/python3.13/site-packages/pyworxcloud/events.py:72
First occurred: 9:03:40 AM (104 occurrences)
Last logged: 6:24:59 PM
requirements for attributes was not fulfilled, not sending event!
Additional information
No response
And you can see and handle the device from the app?
Yes, that works fine and I have 2 mowers.
On Wed, May 28, 2025 at 3:06 AM Malene Trab @.***> wrote:
MTrab left a comment (MTrab/landroid_cloud#897) https://github.com/MTrab/landroid_cloud/issues/897#issuecomment-2915551057
And you can see and handle the device from the app?
— Reply to this email directly, view it on GitHub https://github.com/MTrab/landroid_cloud/issues/897#issuecomment-2915551057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQDFZ4B2K7SOQIWMPRRV2T3AV4BFAVCNFSM6AAAAAB6BMSALGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMJVGU2TCMBVG4 . You are receiving this because you authored the thread.Message ID: @.***>
Any ideas? Is it because I have 2 mowers?
On Wed, May 28, 2025 at 6:44 AM Lance W @.***> wrote:
Yes, that works fine and I have 2 mowers.
On Wed, May 28, 2025 at 3:06 AM Malene Trab @.***> wrote:
MTrab left a comment (MTrab/landroid_cloud#897) https://github.com/MTrab/landroid_cloud/issues/897#issuecomment-2915551057
And you can see and handle the device from the app?
— Reply to this email directly, view it on GitHub https://github.com/MTrab/landroid_cloud/issues/897#issuecomment-2915551057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQDFZ4B2K7SOQIWMPRRV2T3AV4BFAVCNFSM6AAAAAB6BMSALGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMJVGU2TCMBVG4 . You are receiving this because you authored the thread.Message ID: @.***>
No idea what could cause this - never seen that error before.
I'd need access to your Landroid account for testing - you can send credentials to [email protected]
Just wanted to add to this issue: I have been having that same issue for months now and haven't yet figured out a solution. The mowers ownership was transferred to me by its previous owner and I am using HA in docker. That's the only extra info I can give.
Haven't received any credentials for testing, so cannot debug this any further for now
I'll send you mine, so you can look into it.
This will be fixed in next release. The reason for this error is that you have not named your mower
This is working when I named the mower. I also got the latest version. Thanks!
On Sat, Jun 28, 2025 at 4:53 AM Malene Trab @.***> wrote:
MTrab left a comment (MTrab/landroid_cloud#897) https://github.com/MTrab/landroid_cloud/issues/897#issuecomment-3015180365
This will be fixed in next release. The reason for this error is that you have not named your mower
— Reply to this email directly, view it on GitHub https://github.com/MTrab/landroid_cloud/issues/897#issuecomment-3015180365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQDFZ45RP46RVCN5L37U6L3FZXZZAVCNFSM6AAAAAB6BMSALGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMJVGE4DAMZWGU . You are receiving this because you authored the thread.Message ID: @.***>
Hej Marlene! I was curious about this unusual error, so I wanted to see how you solved it.
I can see from the traceback above that it seems to have a problem with the self.logapi.friendly_name but then in the commits related to this issue, all I see (diff) is that the version of pyworxcloud increased from 4.1.38 to 4.1.39 and later to 4.1.41 in the release. Was that it?
As written earlier in this thread - the reason is when the user haven't given the mower a name, so in the pyworxcloud module I just put in a default name, if name was empty.
Yes, I was expecting to see something about default string assignment and I must admit that I did not realize that pyworxcloud was also your creation! That's where the change was done. Sorry and thank you!