Logger: homeassistant.components.websocket_api.http.connection
Source: components/yeelight/light.py:265
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:27:03 (11 occurrences)
Last logged: 21:30:44
[140144017334208] Error when calling async_set_default for bulb Yeelight Lamp15 0x1c0fbfe8 at 192.168.31.92: {'code': -5006, 'message': 'illegal request'}
[140144012852432] Error when calling async_set_default for bulb Yeelight Lamp15 0x1c0fbfe8 at 192.168.31.92: {'code': -5006, 'message': 'illegal request'}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/yeelight/light.py", line 245, in _async_wrap
return await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/yeelight/light.py", line 704, in async_set_default
await self._bulb.async_set_default()
File "/usr/local/lib/python3.10/site-packages/yeelight/aio.py", line 38, in wrapper
cmd = await self.async_send_command(
File "/usr/local/lib/python3.10/site-packages/yeelight/aio.py", line 96, in async_send_command
raise BulbException(response["error"])
yeelight.main.BulbException: {'code': -5006, 'message': 'illegal request'}
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 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 676, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 535, in async_handle_light_on_service
await light.async_turn_on(**filter_turn_on_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/yeelight/light.py", line 802, in async_turn_on
await self.async_set_default()
File "/usr/src/homeassistant/homeassistant/components/yeelight/light.py", line 265, in _async_wrap
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error when calling async_set_default for bulb Yeelight Lamp15 0x1c0fbfe8 at 192.168.31.92: {'code': -5006, 'message': 'illegal request'}