core: Lifx effects not working
The problem
I have never been able to get the effects to work on any of my Lifx devices. It doesn’t matter if I click the effect dropdown box or do an action through developer tools. It has never worked and I’ve been using home assistant with Lifx for years now. Many different versions.
What version of Home Assistant Core has the issue?
2024.10.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Lifx
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lifx/
Diagnostics information
config_entry-lifx-447d1c2318f42e8b41ab0a682cbb7ae3.json
Example YAML snippet
action: lifx.effect_flame
data:
power_on: true
target:
entity_id: light.bathroom_lamp
Anything in the logs that might be useful for us?
Logger: homeassistant.core
Source: core.py:2781
First occurred: 21:05:37 (1 occurrences)
Last logged: 21:05:37
Error executing service: <ServiceCall lifx.effect_flame (c:01JBKMQ02J24RMT2183EMFC5SM): entity_id=['light.bathroom_lamp'], power_on=True>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 2781, in _run_service_call_catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/lifx/manager.py", line 254, in service_handler
await self.start_effect(all_referenced, service.service, **service.data)
File "/usr/src/homeassistant/homeassistant/components/lifx/manager.py", line 316, in start_effect
and self.entry_id_to_entity_id[entry_id] in entity_ids
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: '75bbe54e98eb6588e48311e59457e73c'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 29 (14 by maintainers)
@home-assistant close
The product defintions have been updated but I’m a little unwell right now. I’m hoping to update
aiolifx(the underlying library) next week and then bump the dependency here, which should make things work. I haven’t actually received any Permanent Outdoor lights yet, so I won’t be able to test it myself until they arrive. 😃Removing the integration and adding it back in solved my issues.
I’m waiting for LIFX to update their product definitions on GitHub to add support. I’ll prod my contact.