Skip to content

Commit 091781f

Browse files
authored
Merge pull request #606 from SmartThingsCommunity/fix/sonos-group-volume-setgroupvolume-wrong-payload-key
2 parents c78c312 + 3a63ae2 commit 091781f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/SmartThings/sonos/src/api/cmd_handlers.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function CapCommandHandlers.handle_group_volume_down(driver, device, cmd)
140140
end
141141

142142
function CapCommandHandlers.handle_group_set_volume(driver, device, cmd)
143-
local new_volume = st_utils.clamp_value(cmd.args.volume, 0, 100)
143+
local new_volume = st_utils.clamp_value(cmd.args.groupVolume, 0, 100)
144144
local payload = {
145145
{ namespace = "groupVolume", command = "setVolume" },
146146
{ volume = new_volume }

0 commit comments

Comments
 (0)