Open throb opened 1 month ago
Hey there @swails, @bdraco, @danaues, @eclair4151, mind taking a look at this issue as it has been labeled with an integration (lutron_caseta
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
lutron_caseta documentation lutron_caseta source (message by IssueLinks)
adding more information here from the logs :
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:241 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 8:54:47 AM (3 occurrences) Last logged: 8:54:53 AM
[139978127208608] Unexpected exception Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 260, in _request response = await self._leap.request( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/leap.py", line 75, in request return await future ^^^^^^^^^^^^ asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 626, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/light.py", line 174, in async_turn_on await self._async_set_brightness(brightness, color, kwargs) File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/light.py", line 134, in _async_set_brightness await self._smartbridge.set_value( File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 440, in set_value await self._request( File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 259, in _request async with asyncio_timeout(REQUEST_TIMEOUT): File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in aexit raise TimeoutError from exc_val TimeoutError
I am able to access the iOS app and control the lutron with zero issues. How else can I help to solve this issue?
The problem
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 628, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/light.py", line 178, in async_turn_on await self._async_set_brightness(brightness, color, kwargs) File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/light.py", line 138, in _async_set_brightness await self._smartbridge.set_value( File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 440, in set_value await self._request( File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 252, in _request raise BridgeDisconnectedError() pylutron_caseta.BridgeDisconnectedError 2024-07-20 17:24:33.430 WARNING (MainThread) [pylutron_caseta.smartbridge] Reconnecting after error: [Errno 110] Connect call failed ('10.0.0.237', 8081) 2024-07-20 17:24:35.432 DEBUG (MainThread) [pylutron_caseta.smartbridge] Connecting to Smart Bridge via SSL
This is basically a duplicate of : https://github.com/home-assistant/core/issues/31361
What version of Home Assistant Core has the issue?
2024.7.3
What was the last working version of Home Assistant Core?
2024.7.1 (maybe)
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Lutron Caseta
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lutron_caseta/
Diagnostics information
config_entry-lutron_caseta-1099119f4934cafc5a066c1dd6efa434.json
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response