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

Added new light devices #1724

Merged
merged 5 commits into from
Mar 9, 2024
Merged

Added new light devices #1724

merged 5 commits into from
Mar 9, 2024

Conversation

zeosson
Copy link
Contributor

@zeosson zeosson commented Mar 9, 2024

added two new light devices
used tiny tuya to get the values

zeosson and others added 4 commits March 8, 2024 20:40
Swap product specific and general name.
Default color_mode to white, rather than simply not working when color mode is not sent (suspect it is only when off though)
Keep branding under products, make top level name generic.

This is a fairly common dps mapping for lights, matching rgbww_lightbulb, but in this case it is using the 0-1000 ranges more common in newer lights that use dps 20 and up for light control. It is likely to match other brands though just because there are so many Tuya lightbulbs on the market.

Also default color_mode when it has not been received.
@make-all make-all merged commit 5dfb902 into make-all:main Mar 9, 2024
4 checks passed
make-all added a commit that referenced this pull request Mar 9, 2024
timlaing pushed a commit to timlaing/tuya-local that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants