Lifx Integration - Set State only works for first 82 zones

Hello,

This is my first post - I’m just getting started with home assistant. I’ve noticed that the built-in Lifx integration only seems to work for the first 82 zones. The documentation (LIFX - Home Assistant) seems to state this as well, as 82 zones is the maximum for a beam device.

I have two outdoor light strips (https://www.homedepot.com/p/LIFX-16-ft-Smart-Wi-Fi-RGBW-120V-Plug-in-12V-Neon-Flex-Integrated-LED-Outdoor-Rope-Light-Works-Alexa-Hey-Google-HomeKit-Siri-LFXNEON16-WP/327520942) connected together, for a total of 120 zones.

When I try to set the state of this device to a color, only the first 82 zones are updated.

action: lifx.set_state
target:
  device_id: [My device ID]
data_template:
  color_name: "white"

When I try to apply one of the Lifx themes through the LIFX: Move effect action, it only turns on the light, but doesn’t update any of it.

For comparison, I also have a single light strip (60 zones), which updates fine.

Here is a screenshot. I manually set the light to all Blue via the LifX application, and then I send the command I pasted above to change it to white - you can see that only the first 82 zones changed.

Is this a known issue, and are there any plans to add support for devices with more zones?

You answered your own question.

Please log an issue for this on GitHub: Issues · home-assistant/core · GitHub

I have an Outdoor Neon myself, but I hadn’t actually tested this. It should be relatively easy to fix, though.

It wasn’t a known issue, but I had had a suspicion that it may be one. My longest Neon is only 60 zones, so I’ve sent an email to my LIFX contact to see if I can borrow a 5M extension for testing purposes.

I’ve spotted at least two places where the 82 zone limit is hard-coded in Home Assistant and aiolifx-themes, the library I wrote to support painting themes. Having said that, please still log an issue on GitHub to remind me to look into it during the week.

Thank you!

I have opened Lifx Integration - Set State only works for first 82 zones · Issue #125149 · home-assistant/core · GitHub

1 Like

So, I’ve opened the first pull request with an initial fix for this issue, which does allow you to control more than 82 zones. However, it’s doing so in about the least efficient way possible, for various reasons.

I’m working on improving that too, but updating the tests to account for the changes will take a while, so I don’t have an ETA for that at the moment.