Skip to content

Commit

Permalink
Add initial volume and muted status to README
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephDuffy committed Apr 26, 2020
1 parent c94ecd1 commit 2f48c91
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ Buttons can be exposed that will increase or decrease the system volume by a set
]
```

### Initial Values

If you wish to set some initial values when the plugin starts you can set the `initialVolume` and `initiallyMuted` properties:

```
"accessories": [
{
"accessory": "ComputerSpeakers",
"name": "MacBook",
"initialVolume": 70,
"initiallyMuted": true
}
]
```

## Development

To develop homebridge-pc-volume locally:
Expand Down

0 comments on commit 2f48c91

Please sign in to comment.