diff --git a/fhem/CHANGED b/fhem/CHANGED index c3909d61c..9fa67ec13 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 10_MQTT_DEVICE.pm: publishSet patch (Forum #648596) - feature: 01_FHEMWEB.pm: selectnumbers widget modifier (Forum #73188) - feature: 98_structure.pm: add evaluateSetResult attribute (Forum #73113) - feature: ESPEasy: improved defineFn if bridge port is missing, docu update diff --git a/fhem/FHEM/10_MQTT_DEVICE.pm b/fhem/FHEM/10_MQTT_DEVICE.pm index 8efc4f78e..4e2a542a3 100644 --- a/fhem/FHEM/10_MQTT_DEVICE.pm +++ b/fhem/FHEM/10_MQTT_DEVICE.pm @@ -83,7 +83,7 @@ sub Set($$$@) { my ($hash,$name,$command,@values) = @_; return "Need at least one parameters" unless defined $command; return "Unknown argument $command, choose one of " . join(" ", map {$hash->{sets}->{$_} eq "" ? $_ : "$_:".$hash->{sets}->{$_}} sort keys %{$hash->{sets}}) - if(!defined($hash->{sets}->{$command})); + if(!defined($hash->{sets}->{$command}) && @values); my $msgid; if (@values) { my $value = join " ",@values;