sam43434 / remootio

remootio
18 stars 29 forks source link

HA update broke Remootio integration again #11

Open CCupler opened 1 year ago

CCupler commented 1 year ago

Updated to latest versions: HAOS 9.5, HA Core 2023.3.5 Remootio integration is again 'broken' - will not reload, have no control over, or status of, garage door.

Remootio version 839e575

Log entry: This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/remootio/utils.py:83 Integration: Remootio First occurred: 9:55:43 PM (1 occurrences) Last logged: 9:55:43 PM

Error setting up entry Remootio Device (Host: 192.168.20.10, S/N: 244cabd0a24cgrowgpwj) for remootio Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aioremootio/remootioclient.py", line 318, in initialize await self.lifecycle.wait_for(lambda: self.connected) File "/usr/local/lib/python3.10/asyncio/locks.py", line 296, in wait_for await self.wait() File "/usr/local/lib/python3.10/asyncio/locks.py", line 269, in wait await fut asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/remootio/init.py", line 38, in async_setup_entry remootio_client: RemootioClient = await create_client( File "/config/custom_components/remootio/utils.py", line 83, in create_client result = await RemootioClient( File "/usr/local/lib/python3.10/site-packages/async_class.py", line 133, in await yield from self.ainit(*self._args, **self._kwargs).await() File "/usr/local/lib/python3.10/site-packages/aioremootio/remootioclient.py", line 290, in ainit await self.initialize() File "/usr/local/lib/python3.10/site-packages/aioremootio/remootioclient.py", line 332, in initialize raise RemootioClientError(self, "Failed to initialize this client.") from ex aioremootio.errors.RemootioClientError: Failed to initialize this client. Host [192.168.20.10] SerialNumber [N/A] ApiVersion [N/A] State [State.OPEN]

jwinston100 commented 1 year ago

I have HA core version 2023.6.0 running, and the Remootio integration works with this version, but after upgrading to the most recent version of core, 2023.7.2, the integration broke even with the previous hack which @yarafie had provided which had worked, https://github.com/sam43434/remootio/issues/7#issuecomment-1453075005