is it possible to specify custom JSON responses for "brightnesslvl_url" with the same system that's used for "status_on" and "status_off" response definitions?
An idea would be to speficy the URL via "brightnesslvl_url" and then define the matching JSON output via
"brightnesslvl": {
"Brightness":"%X%"
}
with "%X%" being the brightness that's being set.
That would allow us to handle custom JSON responses from other plugins.
Thanks!
Hello,
is it possible to specify custom JSON responses for "brightnesslvl_url" with the same system that's used for "status_on" and "status_off" response definitions?
An idea would be to speficy the URL via "brightnesslvl_url" and then define the matching JSON output via
"brightnesslvl": { "Brightness":"%X%" }
with "%X%" being the brightness that's being set. That would allow us to handle custom JSON responses from other plugins. Thanks!