Closed yolani closed 2 years ago
Can't confirm 24h I also can't increase rain delay because landroid integration has the limit up to 300 min https://github.com/MTrab/landroid_cloud/blob/676b4b0fce5959ad161ca7fc2a8335fd9d5fe8fb/custom_components/landroid_cloud/services.yaml#L94
Interesting, what Modell do you have? My app let's me increase the delay to 23h and 30m to be precise
WR141E
Okay so I guess the WR14x and the WR16x models differ here. It's not a big thing, I can patch this locally.
Even if you could get the max_delay through the API I don't think you could use it to set the max of the input_number...
And you also can't increase rain delay because landroid integration has the limit up to 300 min 😉
But that's only a descriptive string and no real range boundary. Actually the Landroid integration receives my delay properly
Same issue for WR165E, the limit through the mobile app is 12 hours.
[homeassistant.components.automation.mower_sync_values] Mower sync values: Error executing script. Invalid data for call_service at pos 1: Invalid value for input_number.mower_raindelay: 720.0 (range 0.0 - 300.0)
I had a look at MTrab/landroid_cloud and MTrab/pyworxcloud and as @yolani said, I did not find a limitation of the integration. I think it's fine to change it here so I did a PR that fits @yolani's model.
Your upper range for https://github.com/Barma-lej/halandroid/blob/1194d9a81ca90ead75560b5659b5c4acd6012d66/packages/landroid.yaml#L363 is set to low. For my WR165E I can set rain delay in the app to max 24h. Setting it to anything > 300 minutes causes an error in HA.