Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make level optional in setColor #7

Merged
merged 1 commit into from Jul 23, 2022
Merged

Conversation

joshualyon
Copy link
Contributor

The level property of the COLOR_MAP used in setColor should be optional. Fallback to the current device level if it's not supplied in the map.

The level property of the COLOR_MAP used in setColor should be optional. Fallback to the current device level if it's not supplied in the map.
@joshualyon
Copy link
Contributor Author

I originally made this as a change directly on your main branch along with a version bump to 0.3.2 in the comment header and packageManifest.json, but realized you were already working on some changes in your development branch, so I simplified to just the code change and pointed it at this branch.

Feel free to just manually incorporate it if you prefer. 😄

@bradsjm bradsjm merged commit 67d6881 into bradsjm:development Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants