After updating to 0.103.0 and changing my automations to use the new lifx integration as described in the Breaking Changes, I’m now getting an error when manually triggering said automation.
Here is the automation:
- id: 'DailyLightReset'
alias: Reset Lights in the Morning
trigger:
- platform: time
at: '04:00:00'
action:
- service: lifx.set_state
data:
entity_id: all
kelvin: 9000
brightness: 255
Here is the error:
Error while executing automation automation.reset_lights_in_the_morning. Unknown error for call_service at pos 1:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 443, in action
await script_obj.async_run(variables, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 190, in async_run
await self._handle_action(action, variables, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 273, in _handle_action
await self._actions[_determine_action(action)](action, variables, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 355, in _async_call_service
context=context,
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 97, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/components/lifx/light.py", line 294, in service_handler
for light in await self.async_service_to_entities(service):
File "/usr/src/homeassistant/homeassistant/components/lifx/light.py", line 372, in async_service_to_entities
entity_ids = await async_extract_entity_ids(self.hass, service)
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 134, in async_extract_entity_ids
entity_ids = hass.components.group.expand_entity_ids(entity_ids)
File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 141, in expand_entity_ids
domain, _ = ha.split_entity_id(entity_id)
ValueError: not enough values to unpack (expected 2, got 1)
Any ideas?