mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
10_MQTT2_DEVICE.pm: remove unused code (Forum #111938)
git-svn-id: https://svn.fhem.de/fhem/trunk@22458 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2d91a3f4d7
commit
42ea08c4a1
@ -158,7 +158,6 @@ MQTT2_DEVICE_Parse($$)
|
||||
"$cid:$topic:$value" =~ m/^$reRepl$/s));
|
||||
next if(IsDisabled($dev));
|
||||
|
||||
my @retData;
|
||||
Log3 $dev, 4, "MQTT2_DEVICE_Parse: $dev $topic => $code";
|
||||
|
||||
if($code =~ m/^{.*}$/s) {
|
||||
@ -171,7 +170,6 @@ MQTT2_DEVICE_Parse($$)
|
||||
foreach my $k (keys %{$ret}) {
|
||||
readingsBulkUpdate($hash, makeReadingName($k), $ret->{$k});
|
||||
my $msg = ($ret->{$k} ? $ret->{$k} : "");
|
||||
push(@retData, "$k $msg");
|
||||
checkForGet($hash, $k, $ret->{$k});
|
||||
}
|
||||
readingsEndUpdate($hash, 1);
|
||||
@ -179,7 +177,6 @@ MQTT2_DEVICE_Parse($$)
|
||||
|
||||
} else {
|
||||
readingsSingleUpdate($hash, $code, $value, 1);
|
||||
push(@retData, "$code $value");
|
||||
checkForGet($hash, $code, $value);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user