Since Home Assistant 2022.3 I get the following errors when I do a light.turn_off on a group of Philips Hue lights.
If I add
data:
transition: 0
to the call, the errors disappear but the lights are very dim when you turn them on with a light.turn_on
Does anyone know what is going on?
- Home Assistant 2022.3.5
- latest Philips Hue integration
Logger: homeassistant.helpers.script.websocket_api_script
Source: components/hue/bridge.py:124
First occurred: 19:53:35 (1 occurrences)
Last logged: 19:53:35
websocket_api script: Error executing script. Unexpected error for call_service at pos 1: device (grouped_light) is "soft off", command (.on) may not have effect
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 367, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 570, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1636, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1673, 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 self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 668, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 949, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 513, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/hue/v2/group.py", line 216, in async_turn_off
await self.bridge.async_request_call(
File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 134, in async_request_call
raise err
File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 124, in async_request_call
return await task(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/aiohue/v2/controllers/groups.py", line 95, in set_state
await self.update(id, GroupedLightPut(on=OnFeature(on=on)))
File "/usr/local/lib/python3.9/site-packages/aiohue/v2/controllers/base.py", line 159, in update
await self._bridge.request("put", endpoint, json=data)
File "/usr/local/lib/python3.9/site-packages/aiohue/v2/__init__.py", line 175, in request
raise_from_error(result["errors"][0])
File "/usr/local/lib/python3.9/site-packages/aiohue/errors.py", line 38, in raise_from_error
raise cls(error["description"])
aiohue.errors.AiohueException: device (grouped_light) is "soft off", command (.on) may not have effect
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hue/bridge.py:124
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:53:35 (1 occurrences)
Last logged: 19:53:35
[140345819833872] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 552, in handle_execute_script
await script_obj.async_run(msg.get("variables"), context=context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1243, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 349, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 367, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 570, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1636, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1673, 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 self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 668, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 949, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 513, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/hue/v2/group.py", line 216, in async_turn_off
await self.bridge.async_request_call(
File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 134, in async_request_call
raise err
File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 124, in async_request_call
return await task(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/aiohue/v2/controllers/groups.py", line 95, in set_state
await self.update(id, GroupedLightPut(on=OnFeature(on=on)))
File "/usr/local/lib/python3.9/site-packages/aiohue/v2/controllers/base.py", line 159, in update
await self._bridge.request("put", endpoint, json=data)
File "/usr/local/lib/python3.9/site-packages/aiohue/v2/__init__.py", line 175, in request
raise_from_error(result["errors"][0])
File "/usr/local/lib/python3.9/site-packages/aiohue/errors.py", line 38, in raise_from_error
raise cls(error["description"])
aiohue.errors.AiohueException: device (grouped_light) is "soft off", command (.on) may not have effect