I want to add command options to a light color item in HSL format like this:
config:
options: '(0,0,0)=black'
As expected, the commas inside the HSL color are parsed as separators, which produces three command options: “(0”, “0”, “0)=black”.
Escaping the commas like ‘(0\,0\,0)=black’ doesn’t work.
How can I escape the commas?
Unfortunately, I don’t think there’s a direct solution for this problem yet. Your best bet is to use a proxy item with simple options and a rule to react to those options by sending the actual commands.