2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 07:24:21 +00:00

91_eventTypes.pm: sanitize more broken events (Forum #36818)

git-svn-id: https://svn.fhem.de/fhem/trunk@8514 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-05-02 07:23:41 +00:00
parent cffc217cb9
commit 95decd93c4

View File

@ -47,6 +47,8 @@ et_addEvt($$$;$)
$evt =~ s/^trigger: (.*_)\d+$/trigger: $1.*/; # HM
$evt =~ s/\.\* \(\d+K\)/.*/g; # HUE: Kelvin
$evt =~ s/ +/ /; #
$evt =~ s/HASH\(0x.*/.*/; # buggy event (Forum #36818)
$evt =~ s/[\n\r].*//s; # typical ECMD problem
my $r = 1;
if($cnt) {