2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

Sonos: Correct a typo in the Sonosplayer-getter and change the selection from off,on to 0,1

git-svn-id: https://svn.fhem.de/fhem/trunk@7446 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rleins 2015-01-05 16:27:52 +00:00
parent 280ff905d6
commit 578a9d2638

View File

@ -377,8 +377,8 @@ sub SONOSPLAYER_Set($@) {
$key = $key.':slider,-100,1,100' if ($key eq 'Balance');
}
# On/Off einsetzen
$key = $key.':off,on' if ((lc($key) eq 'crossfademode') || (lc($key) eq 'groupmute') || (lc($key) eq 'ledstate') || (lc($key) eq 'loudness') || (lc($key) eq 'lute') || (lc($key) eq 'repeat') || (lc($key) eq 'shuffle'));
# On/Off einsetzen; Da das jeweilige Reading dazu 0,1 enthalten wird, auch mit 0,1 arbeiten, damit die Vorauswahl passt
$key = $key.':0,1' if ((lc($key) eq 'crossfademode') || (lc($key) eq 'groupmute') || (lc($key) eq 'ledstate') || (lc($key) eq 'loudness') || (lc($key) eq 'mute') || (lc($key) eq 'repeat') || (lc($key) eq 'shuffle'));
# Iconauswahl einsetzen
if (lc($key) eq 'roomicon') {