jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.83k stars 462 forks source link

Add setting state to JSON response for toggles #822

Closed mjbnz closed 2 years ago

mjbnz commented 2 years ago

Building on #821 this PR adds state responses to the JSON responses to toggling. I'm not a nodejs developer, so I have no idea if this is the best way to do this, but it works in my testing.

Closes: #820

mjbnz commented 2 years ago

🤩