From 46b8eb60986ec7f14eec2114e3b7ef28d57e4c83 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 6 Jan 2016 07:10:23 +0000 Subject: [PATCH] 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 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index fc1fb487e..5862d7b0f 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -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}) ||