MTrab / landroid_cloud

Landroid Cloud component for Home Assistant
GNU General Public License v3.0
272 stars 33 forks source link

Slow down - You're making too many requests to our services [Android App] & 429 TOO MANY REQUESTS [https://account.worxlandroid.com/product-items] #546

Closed sunnyd24 closed 7 months ago

sunnyd24 commented 7 months ago

Describe the issue

New user to plugin and just set up Landroid Vision M600 with thanks.

I started off with a lawn explore, then added robot to HA. I had enabled all the default disabled entities and seemed to be working and reporting information.

I let it charge up to 100%, then started mow from Android app.

After about 10 mins, I was unable to use the Landroid App as it showed Slow down - You're making too many requests to our services and no further updates on the HA until approx. 60 minutes later.

Looking on the the plugin GitHub page, it said this issue could be caused by a ban, and can be overcome by accessing this link. This link doesn't seem to work either as it shows the response 429 TOO MANY REQUESTS.

A few questions:

  1. Is this plugin accessing the Landroid Cloud too frequently?
  2. Is there an problem with using the Plugin and Android app simultaneously?
  3. Is there a way to customise the maximum number of requests per minute/hour/day?
  4. In what typical timeframe would the account be unbanned by Landroid? It seems I was unbanned after around 60 minutes......

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

4.0.3

What type of installation are you running?

Home Assistant OS

Which make and model is the mower used for this integration?

Landroid Vision M600

Diagnostics information (NOT log entries!)

config_entry-landroid_cloud-bde46ee76c436e789053c260c0fb7d84_2024-03-28_redacted.json

Relevant log entries

2024-03-28 10:07:51.537 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:09:16.500 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.vision_m600_blades_reset_at_hours_2 for domain sensor with platform landroid_cloud
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 576, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 865, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1327, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/config/custom_components/landroid_cloud/device_base.py", line 1005, in async_added_to_hass
    await self.handle_update()
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
2024-03-28 10:09:17.640 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:09:17.647 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:09:17.659 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:09:17.666 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
2024-03-28 10:58:27.005 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:58:27.013 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:11:28.542 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:11:28.553 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:11:28.565 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:11:28.574 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:51.118 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:51.125 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:51.173 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:51.179 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:54.170 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:54.176 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:54.212 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:12:54.219 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:51.976 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:51.983 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:51.994 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:52.002 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:58.173 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:58.184 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:58.197 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:16:58.206 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:50.739 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:50.749 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:50.760 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:50.768 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:51.659 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:51.666 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:51.750 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:17:51.776 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:06.039 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:06.045 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:06.063 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:06.070 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:11.136 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:11.145 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:11.156 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:11.164 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:13.653 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:13.660 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:13.670 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:18:13.678 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:28:13.713 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:28:13.739 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:31:13.723 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:31:13.728 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:41:13.728 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:41:13.735 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:45:31.405 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:45:31.415 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:48:24.059 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:48:24.066 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:58:27.005 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

2024-03-28 10:58:27.013 ERROR (MainThread) [homeassistant.util.logging] Exception in handle_update when dispatching 'landroid_cloud_update_vision_m600': ()
Traceback (most recent call last):
  File "/config/custom_components/landroid_cloud/device_base.py", line 1015, in handle_update
    new_val = self.entity_description.value_fn(self.device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/landroid_cloud/sensor.py", line 115, in <lambda>
    round(landroid.blades["reset_at"] / 60, 0)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

Additional information

No response

MTrab commented 7 months ago

I guess you are issuing a ton of commands in a row, that's the only way to trigger that warning

MTrab commented 7 months ago

And to answer your questions:

  1. Is this plugin accessing the Landroid Cloud too frequently? No

  2. Is there an problem with using the Plugin and Android app simultaneously? Normally not, but if you are issuing multiple commands from both the integration and app on the same time, then perhaps ...

  3. Is there a way to customise the maximum number of requests per minute/hour/day? No

  4. In what typical timeframe would the account be unbanned by Landroid? It seems I was unbanned after around 60 minutes...... When using excessive number of commands, then after 60 minutes