mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-11 20:39:47 +00:00
fhem.pl: adjust readings regexp
git-svn-id: https://svn.fhem.de/fhem/trunk@10363 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e9dcb2205c
commit
b5cd2a75a2
@ -2584,8 +2584,8 @@ CommandSetstate($$)
|
||||
}
|
||||
|
||||
Log3 $d, 3, "WARNING: unsupported character in reading $sname ".
|
||||
"(not A-Za-z\\d_\\.-), notify the $d->{TYPE} module maintainer."
|
||||
if($sname !~ m/^[A-Za-z\d_\.-]+$/);
|
||||
"(not A-Za-z/\\d_\\.-), notify the $d->{TYPE} module maintainer."
|
||||
if($sname !~ m/^[A-Za-z\d_\.\-\/]+$/);
|
||||
|
||||
if(!defined($d->{READINGS}{$sname}) ||
|
||||
!defined($d->{READINGS}{$sname}{TIME}) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user