Skip to content

Light device color - rgbhsv without the HSV? #948

Closed Answered by make-all
lageorgem asked this question in Q&A
Discussion options

You must be logged in to vote

No need, it is just an error in the function name. Unlike the other color formats, RGB is always capitalised in the HA color util functions, so it needs to be color_util.color_RGB_to_hs(r, g, b)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lageorgem
Comment options

Comment options

You must be logged in to vote
1 reply
@lageorgem
Comment options

Answer selected by lageorgem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants