Set Volume
Adjusts an audio stream’s volume (up, down, set, mute or unmute).
An action in the Device Settings group.
Its type is action.volume.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
in |
in | execution in | — |
out |
out | execution out | — |
state |
state | data out | Object{stream: String, mode: String, volume: Int, maxVolume: Int, changed: Boolean} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| Stream | stream |
media |
media, ring, alarm, notification, system |
| Mode | mode |
up |
up, down, set, mute, unmute |
| Value | value |
50 |
0-100, only when mode is set |