setLEDState does not work
hklages opened this issue · comments
I would like to setLEDState('Off')
but it does not work. getLEDState works fine.
Instead of 'Off' I also tried On, on, off, 0, 1, true, false - all lead to error message.
Current Behavior
I receive "Request failed with status code 500" and the stack.
Sample code or executed example
sonosPlayer.setLEDState('Off') // On | Off
.catch(error => { console.log('Error occurred %j', error); });
Versions (and Environment)
node-sonos version: 1.12.4.
Node-RED: 1.02
You're right there was a typ-o in the DeviceProperties service. Will be fixed soon.
Solved with 6b49129
Thanks a lot. Both issues are solved (this and the playmode).
Great.
Glad to help. Check out how to sponsor me 😉