Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to specify custom JSON responses for "brightnesslvl_url" ? #91

Open
brotkasten87 opened this issue Oct 20, 2018 · 0 comments
Open

Comments

@brotkasten87
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant