Skip to content

Integration stops updating at random times/days #996

@guidoubaghs

Description

@guidoubaghs

Describe the issue

The Landroid integration (v 6.0.0) stops updating the information a random times/days. After reloading the integration, the information is directly updated again.

I have it installed for almost 2 months and the bug started about a week ago. Tried even to delete and reinstal the integration, but this didn't solve the bug/problem.

For now I've made an automation to reload the integration every 4 hours.

Image

What version of Home Assistant Core has the issue?

core-2025.9.4

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

v 6.0.0

What type of installation are you running?

Home Assistant OS

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

Kress Mission RTK600 (KR160E.A)

Diagnostics information (NOT log entries!)

config_entry-landroid_cloud-01K6CSEQM9EQK88235QFSHRW0P.json

Relevant log entries

Logger: homeassistant.util.logging
Bron: util/logging.py:167
Eerst voorgekomen: 2 oktober 2025 om 15:37:40 (1 gebeurtenis)
Laatst gelogd: 2 oktober 2025 om 15:37:40

Exception in handle_update when dispatching 'landroid_cloud_update_rtk': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 612, in state if value.tzinfo is None: ^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'tzinfo' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/landroid_cloud/device_base.py", line 1251, in handle_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 623, in state raise ValueError( ...<2 lines>... ) from err ValueError: Invalid datetime: sensor.robotmaaier_next_scheduled_start has timestamp device class but provides state 2025-10-03 09:00:00:<class 'str'> resulting in ''str' object has no attribute 'tzinfo''

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions