Hello,
I’m having issues with my lifx lights service. setState
works fine, however, lifx pulse effect
is not working and I’m getting an unknown error when running it under developer tools > services.
It was working before, but there was a lifx firmware update and I also updated to 2022.11 on HA.
I checked the logs and this is what I get:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/lifx/manager.py:277
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:09:57 AM (22 occurrences)
Last logged: 10:02:05 AM
[544818635120] '557a2ed6a3a66099a7d9200cc6a88ec1'
[544818663328] '557a2ed6a3a66099a7d9200cc6a88ec1'
[544819457776] '557a2ed6a3a66099a7d9200cc6a88ec1'
[546645044688] '557a2ed6a3a66099a7d9200cc6a88ec1'
[547162212432] Error handling message: Unknown error (unknown_error) from 209.131.48.155 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36)
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 1744, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1781, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/lifx/manager.py", line 222, in service_handler
await self.start_effect(all_referenced, service.service, **service.data)
File "/usr/src/homeassistant/homeassistant/components/lifx/manager.py", line 277, in start_effect
and self.entry_id_to_entity_id[entry_id] in entity_ids
KeyError: '557a2ed6a3a66099a7d9200cc6a88ec1'
Any help or direction would be greatly appreciated.