Same here, now running the 2021.1.0 version.
Tried to use the xy_color, but same problem comes up. It does not turn to red, stays the color that is set and stops flashing after a 10 seconds.
data:
brightness: 255
xy_color:
- 0.672
- 0.324
flash: long
Trying to use it in a repeat sequence:
Logger: homeassistant.components.automation.alarm_inbraak_actions_lights_flashing_oranje
Source: components/hue/bridge.py:144
Integration: Automation (documentation, issues)
First occurred: January 6, 2021, 11:00:30 PM (9 occurrences)
Last logged: 1:22:08 PM
Alarm - Inbraak - Actions - Lights Flashing - Rood: Repeat at step 1: Error executing script. Unexpected error for call_service at pos 1: 201: parameter, xy, is not modifiable. Device is set to off.
Alarm - Inbraak - Actions - Lights Flashing - Rood: Error executing script. Unexpected error for repeat at pos 1: 201: parameter, xy, is not modifiable. Device is set to off.
While executing automation automation.alarm_inbraak_actions_lights_flashing_oranje
Alarm - Inbraak - Actions - Lights Flashing - Rood: Repeat at step 1: Error executing script. Unexpected error for call_service at pos 2: 201: parameter, xy, is not modifiable. Device is set to off.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 250, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 457, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
await handler.job.target(service_call)
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 593, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 230, in async_handle_light_on_service
await light.async_turn_on(**params)
File "/usr/src/homeassistant/homeassistant/components/hue/light.py", line 423, in async_turn_on
await self.bridge.async_request_call(
File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 144, in async_request_call
return await task()
File "/usr/local/lib/python3.8/site-packages/aiohue/lights.py", line 116, in set_state
await self._request('put', 'lights/{}/state'.format(self.id),
File "/usr/local/lib/python3.8/site-packages/aiohue/bridge.py", line 66, in request
_raise_on_error(data)
File "/usr/local/lib/python3.8/site-packages/aiohue/bridge.py", line 76, in _raise_on_error
raise_error(data['error'])
File "/usr/local/lib/python3.8/site-packages/aiohue/errors.py", line 28, in raise_error
raise cls("{}: {}".format(type, error['description']))
aiohue.errors.AiohueException: 201: parameter, xy, is not modifiable. Device is set to off.