From 83a2cac3d1d870aaef19af7b980af094625cd4b8 Mon Sep 17 00:00:00 2001 From: Beta-User Date: Thu, 10 Jan 2019 17:04:28 +0000 Subject: [PATCH] 10_MYSENSORS_DEVICE.pm: bugfix, Forum #95626 git-svn-id: https://svn.fhem.de/fhem/trunk@18205 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_MYSENSORS_DEVICE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/10_MYSENSORS_DEVICE.pm b/fhem/FHEM/10_MYSENSORS_DEVICE.pm index 974c6c39e..707e4133b 100755 --- a/fhem/FHEM/10_MYSENSORS_DEVICE.pm +++ b/fhem/FHEM/10_MYSENSORS_DEVICE.pm @@ -244,7 +244,7 @@ sub Set($@) { my ($hash,$name,$command,@values) = @_; return "Need at least one parameters" unless defined $command; if(!defined($hash->{sets}->{$command})) { - $hash->{sets}->{fwType} = join(",", getFirmwareTypes($hash->{IODev})); + $hash->{sets}->{fwType} = join(",", MYSENSORS::getFirmwareTypes($hash->{IODev})); my $list = join(" ", map {$hash->{sets}->{$_} ne "" ? "$_:$hash->{sets}->{$_}" : $_} sort keys %{$hash->{sets}}); $hash->{sets}->{fwType} = ""; return grep (/(^on$)|(^off$)/,keys %{$hash->{sets}}) == 2 ? SetExtensions($hash, $list, $name, $command, @values) : "Unknown argument $command, choose one of $list";