Skip to content
Discussion options

You must be logged in to vote

I was able to play around with it, and you are correct. The light_player only accepts a string, and thus when you are putting in you RGB arguments its saying that's a list (tuple) and that isn't allowed. I would defer to someone else, but allowing RGB entries on light_player and in shows could be breaking of other configs.

That being said, I have code to parse the text, identify it as RGB values, strip the brackets and convert it just like a named value. This can be done, but its a question of if its worth the edge case to do it. Or in light_player add documentation that you can't use RGB, and if you want to do that, you need to created named_colors and reference them.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by worldpeace-germany
Comment options

You must be logged in to vote
0 replies
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