Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Split lights into classes #19

Open
jnimmo opened this issue Dec 28, 2018 · 1 comment
Open

Split lights into classes #19

jnimmo opened this issue Dec 28, 2018 · 1 comment

Comments

@jnimmo
Copy link
Owner

jnimmo commented Dec 28, 2018

Our if statements are getting too long! Need to split them out into subclasses for each different fixture.

@bartfeenstra
Copy link
Contributor

bartfeenstra commented Jun 25, 2020

Would it be an idea to allow light device configuration to specify a channel layout? I need RGBD, for instance, and I can imagine other users have lights that require yet again different layouts. Each channel could then receive a type indicator, and a modifier, such as r,g,b,d (RGB + dimmer), r,g,b,w (RGB + white value), and r,g,b,wa (RGB + auto white value).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants