mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 12:18:46 +00:00
fhem.pl: allow strange characters in _hidden_ readings (Forum #45788)
git-svn-id: https://svn.fhem.de/fhem/trunk@10376 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ffb100fdd2
commit
46b8eb6098
@ -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}) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user