mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 05:16:02 +00:00
10_MQTT2_DEVICE.pm: fix readingsList bug (Forum #122094)
git-svn-id: https://svn.fhem.de/fhem/trunk@24760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c3fc7fef2b
commit
a11c18197c
@ -617,7 +617,7 @@ MQTT2_DEVICE_addReading($$)
|
||||
$modules{MQTT2_DEVICE}{defptr}{"re:$cid"}{$re}{"$name,$code"} = 1;
|
||||
}
|
||||
} else {
|
||||
if($re =~ m/^([^\\\?.*\[\](|)]+):\.\*$/) {
|
||||
if($re =~ m/^([^:\\\?.*\[\](|)]+):\.\*$/) { # nothing smelling like regexp
|
||||
$modules{MQTT2_DEVICE}{defptr}{"re:*:$1"}{$re}{"$name,$code"} = 1;
|
||||
} else {
|
||||
$modules{MQTT2_DEVICE}{defptr}{re}{$re}{"$name,$code"} = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user