diff --git a/fhem/contrib/AttrTemplate/99_sonos2mqttUtils.pm b/fhem/contrib/AttrTemplate/99_sonos2mqttUtils.pm index 529c67dbe..31961f047 100644 --- a/fhem/contrib/AttrTemplate/99_sonos2mqttUtils.pm +++ b/fhem/contrib/AttrTemplate/99_sonos2mqttUtils.pm @@ -336,7 +336,7 @@ if ($reading eq 'grouplist'){ return join(',', sort @out) } if ($reading eq 'favlist'){ -sonos2mqtt_getList ($name,'Favorites') + return sonos2mqtt_getList ($name,'Favorites') } if ($reading eq 'Input') {