Closed as not planned
Description
The problem
Noticed that some triggers to execute a turn on/off for my Lutron Caseta switches suddenly stopped working. Upon a restart of home assistant OS, it will start working again. But also immediately, they will fail.
Logger: pylutron_caseta.smartbridge
Source: runner.py:190
First occurred: 4:34:06 PM (12 occurrences)
Last logged: 4:42:42 PM
ping was not answered. closing connection.
Reconnecting after error: SSL shutdown timed out
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:241
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 4:33:41 PM (12 occurrences)
Last logged: 4:37:40 PM
[140494361636304] Unexpected exception
[140494646143456] Unexpected exception
[140494355541744] Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 286, 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 466, in set_value
await self._request(
File "/usr/local/lib/python3.12/site-packages/pylutron_caseta/smartbridge.py", line 285, 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
Logger: asyncio
Source: components/lutron_caseta/light.py:134
First occurred: 4:37:35 PM (3 occurrences)
Last logged: 4:37:35 PM
SSL connection is closed
What version of Home Assistant Core has the issue?
2024.8.3
What was the last working version of Home Assistant Core?
2024.8.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Lutron Caseta
Link to integration documentation on our website
No response
Diagnostics information
config_entry-lutron_caseta-4fb6da5993fc14546fadbf8f6e7f52ae.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response