2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

HMInfo: clearG repair

git-svn-id: https://svn.fhem.de/fhem/trunk@11172 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2016-04-02 14:15:14 +00:00
parent 214f77de70
commit deaaab0cbb

View File

@ -1471,8 +1471,8 @@ sub HMinfo_SetFn($@) {#########################################################
}
}
if ($type ne "msgStat"){
return "unknown parameter - use msgEvents, readings, msgStat, register, rssi or all"
if ($type !~ m/^(msgEvents|readings|register|oldRegs|rssi|all|trigger)$/);
return "unknown parameter - use msgEvents, readings, msgStat, register, rssi, attack or all"
if ($type !~ m/^(msgEvents|readings|register|oldRegs|rssi|all|attack|trigger)$/);
$opt .= "d" if ($type =~ m/(msgEvents|rssi)/);# readings apply to all, others device only
my @entities;
foreach my $dName (HMinfo_getEntities($opt,$filter)){