diff --git a/fhem/FHEM/37_Spotify.pm b/fhem/FHEM/37_Spotify.pm index 6347ac619..033b11f09 100644 --- a/fhem/FHEM/37_Spotify.pm +++ b/fhem/FHEM/37_Spotify.pm @@ -636,6 +636,7 @@ sub Spotify_volumeStep($$$$) { $step = 5 if(!defined $step); my $nextVolume = min(100, max(0, $hash->{helper}{device_active}{volume_percent} + $step * $direction)); + $hash->{helper}{device_active}{volume_percent} = $nextVolume; Spotify_setVolume($hash, 0, $nextVolume, $device_id); return undef;