5
Help with a python script to control my lights?
(github.com)
News and discussions about the programming language Python
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