I'm just trying to control my smartlights with a script, it seems to be having a lot of problems, I really don't know what I'm doing, i'd appreciate any help I can get
Once I have a script that can individually turn lights on/off i can edit the rest myself, I just can't get the base functionality working.
Glad you got it figured out.
Tangent: Something like home assistant could also abstract a fait bit of complexity especially when you start dealing with different manufacturers.
Just checked and they already support lifx.
Good luck