Closed estilles closed 3 years ago
This all seems fine, but before I update the core my only question is why a color temperature action for Kelvin with a dropdown was added instead of converting the existing action to that mode? Seems to me the 'RAW' number is not a useful control point for most users anyway.
This all seems fine, but before I update the core my only question is why a color temperature action for Kelvin with a dropdown was added instead of converting the existing action to that mode? Seems to me the 'RAW' number is not a useful control point for most users anyway.
The only reason I added one instead of replacing the existing one was for backwards compatibility. If you prefer to just have one action I'd be more than happy to update my PR.
The underlying value/id is the same though, is it not? I'd think the values would transpose in a upgrade, but worst case we can do an upgrade script to convert the int to string if the dropdown forces that (I forget if we fixed that or not).
The underlying value/id is the same though, is it not?
Yes. The values are exactly the same. I will refactor and update my PR. Thanks for the comments.
I'd think the values would transpose in a upgrade, but worst case we can do an upgrade script to convert the int to string if the dropdown forces that (I forget if we fixed that or not).
You're probably right. I don't think there'll be a need for an upgrade script.
This PR was already merged, so I think it will need to be a new one
This PR was already merged, so I think it will need to be a new one
I just realized that. Submitting a new PR shortly.
Submitted PR #6
Adding the following contributions, as suggested in issue #4
Cleanup
Features