core: Roborock startup log error
The problem
Since 2023.10.0b0 once HA starts this issue appeaes in the logs
2023-09-28 11:34:12.847 WARNING (MainThread) [py.warnings] /usr/src/homeassistant/homeassistant/helpers/entity_platform.py:495: RuntimeWarning: coroutine 'EntityPlatform._async_add_entity' was never awaited
tasks = [
2023-09-28 11:34:12.849 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 211, in <genexpr>
if description.value_fn(coordinator.roborock_device_info.props) is not None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/roborock/sensor.py", line 150, in <lambda> value_fn=lambda data: data.last_clean_record.begin_datetime,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'begin_datetime'
What version of Home Assistant Core has the issue?
2023.10.0b0
What was the last working version of Home Assistant Core?
2023.9
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?
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 18 (17 by maintainers)
Updated to 0b6 still throws an error while setting up. Shall I open a new issue?