core: Essential entities are no longer avaible after Home Assistant update

The problem

After a Home Assistant update (to 2023.9.3) almost all of the entities of Roborock are not available anymore. I restarted HA multiple times, my vacuum cleaner is still online in the official Roborock app.

What version of Home Assistant Core has the issue?

core-2023.9.3

What was the last working version of Home Assistant Core?

core-2023.9.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Roborock

Link to integration documentation on our website

https://www.home-assistant.io/integrations/roborock

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-10-01 20:31:04.413 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 495, in async_add_entities
    tasks = [
            ^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 495, in <listcomp>
    tasks = [
            ^
  File "/usr/src/homeassistant/homeassistant/components/roborock/sensor.py", line 157, in <genexpr>
    if description.value_fn(coordinator.roborock_device_info.props) is not None
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/roborock/sensor.py", line 53, in <lambda>
    value_fn=lambda data: data.consumable.main_brush_time_left,
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'main_brush_time_left'
2023-10-01 20:31:04.482 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 495, in async_add_entities
    tasks = [
            ^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 495, in <listcomp>
    tasks = [
            ^
  File "/usr/src/homeassistant/homeassistant/components/roborock/select.py", line 80, in <genexpr>
    if description.options_lambda(coordinator.roborock_device_info.props.status)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/roborock/select.py", line 47, in <lambda>
    if data.water_box_mode
       ^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'water_box_mode'
2023-10-01 20:31:04.487 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments