diff --git a/README.md b/README.md index 540da64..0688d30 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,11 @@ Please note: highlighting current playing favorite is not supported. ### **WORK IN PROGRESS** --> ## Changelog + +### WORK IN PROGRESS + +(seb2010) Added support to control bass and treble of a player (NO updates of these states on external events!) + ### 3.0.0 (2023-10-09) * (udondan) Added support for the playing Sonos playlists (added new state `playlist_set`) * (bluefox) The minimal node.js version is 16 diff --git a/main.js b/main.js index 05cf7aa..f387add 100644 --- a/main.js +++ b/main.js @@ -613,9 +613,9 @@ async function createChannel(name, ip, room) { name: 'Player volume' }, treble: { - // level.treble - treble level (read, write) + // level.treble - treble level (only write) type: 'number', - read: true, + read: false, write: true, role: 'level.treble', min: -10, @@ -624,9 +624,9 @@ async function createChannel(name, ip, room) { name: 'Player treble' }, bass: { - // level.bass - bass level (read, write) + // level.bass - bass level (only write) type: 'number', - read: true, + read: false, write: true, role: 'level.bass', min: -10,