fhem.pl: allow strange characters in _hidden_ readings (Forum #45788)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10376 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2585,7 +2585,7 @@ 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_\.\-\/]+$/);
|
||||
if($sname !~ m/^[A-Za-z\d_\.\-\/]+$/ && $sname !~ m/^\./);
|
||||
|
||||
if(!defined($d->{READINGS}{$sname}) ||
|
||||
!defined($d->{READINGS}{$sname}{TIME}) ||
|
||||
|
||||
Reference in New Issue
Block a user