core
core copied to clipboard
Switches for Ring Cameras no longer function
The problem
Switches that control the lights and sirens on my Ring cameras no longer function and return an error message. Not sure when this started but just realized it today,
What version of Home Assistant Core has the issue?
2024.10.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Ring
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ring
Diagnostics information
config_entry-ring-c01a200e73ffe6ab6130e64c201897f1.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Failed to perform the action light/turn_on. Error communicating with API<function RingLight._async_set_light at 0x7f598f2d40>: HTTP error with status code 422 during query of url https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on: 422, message='', url='https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on'
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:00:02 AM (4 occurrences)
Last logged: 10:19:19 AM
[547089310208] Unexpected exception
[546559421328] Unexpected exception
[546658144112] Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ring_doorbell/auth.py", line 249, in async_query
resp.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 422, message='', url='https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ring/entity.py", line 63, in _wrap
return await async_func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/ring/light.py", line 83, in _async_set_light
await self._device.async_set_lights(new_state)
File "/usr/local/lib/python3.12/site-packages/ring_doorbell/stickup_cam.py", line 152, in async_set_lights
await self._ring.async_query(url, method="PUT")
File "/usr/local/lib/python3.12/site-packages/ring_doorbell/ring.py", line 154, in async_query
return await self._async_query(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ring_doorbell/ring.py", line 176, in _async_query
return await self.auth.async_query(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ring_doorbell/auth.py", line 255, in async_query
raise RingError(msg) from ex
ring_doorbell.exceptions.RingError: HTTP error with status code 422 during query of url https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on: 422, message='', url='https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on'
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 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
result = await task
^^^^^^^^^^
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/ring/light.py", line 91, in async_turn_on
await self._async_set_light(OnOffState.ON)
File "/usr/src/homeassistant/homeassistant/components/ring/entity.py", line 72, in _wrap
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error communicating with API<function RingLight._async_set_light at 0x7f598f2d40>: HTTP error with status code 422 during query of url https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on: 422, message='', url='https://api.ring.com/clients_api/doorbots/157122355/floodlight_light_on'
Additional information
No response