Skip to content

Commit

Permalink
added Readme comment, change state to write-only
Browse files Browse the repository at this point in the history
  • Loading branch information
seb2010 authored Feb 29, 2024
1 parent 8048f6d commit 8ddb3c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 8ddb3c0

Please sign in to comment.