gurumitts / pylutron-caseta

Apache License 2.0
157 stars 98 forks source link

New feature lumaris rgb tunable white #177

Open RBaragona opened 1 week ago

RBaragona commented 1 week ago

Add support for a new LEAP light device type to enable control of Lumaris RGB + Tunable White.

RBaragona commented 6 days ago

@mdonoughe or @bdraco , anything you'd like to see in order to approve/merge this? I tested this with a HWQSX system.

eclair4151 commented 6 days ago

You'll need to add some tests for sure, start by defining a new device/zone/etc inside the test response jsons: https://github.com/gurumitts/pylutron-caseta/tree/dev/tests/responses/hwqsx

And then add tests in test_smartbridge to confirm the request and response and formatted as expected https://github.com/gurumitts/pylutron-caseta/blob/dev/tests/test_smartbridge.py

See test_qsx_set_ketra_color for a similar example.

mdonoughe and bdraco, let me know if you want me to test as well, happy to throw a fake tunable RGB on my QSX system with lutron designer and confirm I can control it via the library.