home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.04k stars 31.07k forks source link

iRobot does not create device and entities #111485

Closed Anonymouse0104 closed 9 months ago

Anonymouse0104 commented 9 months ago

The problem

Since a day or 2 my iRobot i7 integration was not responding. I deleted the integration and added it again, now the intergration configures itself as usual but does not create a device or entities... :(

image

The ip is correct and the Roomba itself speeks when I confirm the configuration process.

What version of Home Assistant Core has the issue?

core-2024.2.3

What was the last working version of Home Assistant Core?

core-2024.2.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

iRobot Roomba and Braava

Link to integration documentation on our website

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

Diagnostics information

2024-02-26 13:59:12.946 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration tplink_deco which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.949 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.952 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hikvision_next which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.954 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration afvalwijzer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.956 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration kleenex_nl_pollenradar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.958 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration remeha_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.961 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration afvalinfo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.963 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration p2000 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.965 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration elro_connects which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.967 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration dsmr which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.970 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.972 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration gardena_smart_system which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:12.974 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration pollenprognos which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-26 13:59:40.832 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.remeha_home.climate.RemehaHomeClimateEntity'>) implements HVACMode(s): off, heat, auto and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/msvisser/remeha_home/issues 2024-02-26 13:59:41.419 ERROR (SyncWorker_4) [custom_components.spotcast.helpers] spotify integration not found 2024-02-26 13:59:51.369 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds. 2024-02-26 13:59:52.270 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.remaining_power (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'W' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'GJ', 'MJ', 'MWh', 'kWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22 2024-02-26 13:59:52.275 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.stroom_fase1 (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'A' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'GJ', 'MJ', 'MWh', 'kWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22 2024-02-26 13:59:52.277 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.stroom_fase2 (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'A' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'GJ', 'MJ', 'MWh', 'kWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22 2024-02-26 13:59:52.279 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.stroom_fase3 (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'A' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'GJ', 'MJ', 'MWh', 'kWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22 2024-02-26 14:00:01.966 ERROR (stream_worker) [root] Uncaught thread exception Traceback (most recent call last): File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/usr/local/lib/python3.12/threading.py", line 1010, in run self._target(*self._args, self._kwargs) File "/usr/src/homeassistant/homeassistant/components/stream/init.py", line 421, in _run_worker stream_worker( File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 611, in stream_worker muxer.mux_packet(first_keyframe) File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 264, in mux_packet self._av_output.mux(packet) File "av/container/output.pyx", line 218, in av.container.output.OutputContainer.mux File "av/container/output.pyx", line 224, in av.container.output.OutputContainer.mux_one File "av/container/output.pyx", line 190, in av.container.output.OutputContainer.start_encoding File "av/container/core.pyx", line 290, in av.container.core.Container.err_check File "av/error.pyx", line 336, in av.error.err_check av.error.ValueError: [Errno 22] Invalid argument: ''; last error log: [mp4] dimensions not set 2024-02-26 14:00:10.831 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_rain (mm/h) cannot be converted to the unit of previously compiled statistics (mm). Generation of long term statistics will be suppressed unless the unit changes back to mm or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2024-02-26 14:00:10.831 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_snow (mm/h) cannot be converted to the unit of previously compiled statistics (mm). Generation of long term statistics will be suppressed unless the unit changes back to mm or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this 2024-02-26 14:06:32.782 ERROR (Thread-7) [pychromecast.socket_client] [Tv in woonkamer(192.168.2.18):8009] Failed to connect to service ServiceInfo(type='mdns', data='BRAVIA-4K-GB-e2e83a7321fcddc6582bda5a65664b34._googlecast._tcp.local.'), retrying in 5.0s 2024-02-26 15:00:46.879 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.afvalwijzer_kerstbomen is taking over 10 seconds 2024-02-26 16:18:43.565 ERROR (MainThread) [homeassistant.components.gardena_bluetooth] Error fetching Gardena Bluetooth Data Update Coordinator data: Unable to update data for 98bd0f12-0b0e-421a-84e5-ddbf75dc6de4 due to Communcation failed with device: Gardena Bluetooth - B0:D2:78:9E:23:8D: Failed to connect after 9 attempt(s): No backend with an available connection slot that can reach address B0:D2:78:9E:23:8D was found: The proxy/adapter is out of connection slots or the device is no longer reachable; Add additional proxies (https://esphome.github.io/bluetooth-proxies/) near this device 2024-02-26 16:22:06.612 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Poemba for roomba Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/roomba/init.py", line 40, in async_setup_entry roomba = await hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, *self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/roomba_factory.py", line 14, in create_roomba remote_client = RoombaFactory._create_remote_client( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/roomba_factory.py", line 21, in _create_remote_client return RoombaRemoteClient(address=address, blid=blid, password=password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py", line 44, in init self.mqtt_client = self._get_mqtt_client() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py", line 103, in _get_mqtt_client callback_api_version=mqtt.CallbackAPIVersion.VERSION1, ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion' 2024-02-26 16:30:47.645 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Poemba for roomba Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/roomba/init.py", line 40, in async_setup_entry roomba = await hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/roomba_factory.py", line 14, in create_roomba remote_client = RoombaFactory._create_remote_client( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/roomba_factory.py", line 21, in _create_remote_client return RoombaRemoteClient(address=address, blid=blid, password=password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py", line 44, in init self.mqtt_client = self._get_mqtt_client() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/roombapy/remote_client.py", line 103, in _get_mqtt_client callback_api_version=mqtt.CallbackAPIVersion.VERSION1, ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'paho.mqtt.client' has no attribute 'CallbackAPIVersion'

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-02-26 16:30:47.645 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Poemba for roomba

Additional information

No response

home-assistant[bot] commented 9 months ago

Hey there @pschmitt, @cyr-ius, @shenxn, @xitee1, @orhideous, mind taking a look at this issue as it has been labeled with an integration (roomba) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `roomba` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign roomba` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


roomba documentation roomba source (message by IssueLinks)

jasperslits commented 9 months ago

2024.2.4 (https://github.com/home-assistant/core/releases/tag/2024.2.4) caries a fix for the roomba integration. So just wait and upgrade once it's releasd.

TheJulianJES commented 9 months ago

The fix is included in Home Assistant Core 2024.2.4. The version is released, so you can update now.