2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 00:26:03 +00:00

30_DUOFERN: bug fix smoke detector

git-svn-id: https://svn.fhem.de/fhem/trunk@11516 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
telekatz 2016-05-25 16:44:22 +00:00
parent 3a4e4d0ff5
commit ab0dcca5d5

View File

@ -1154,9 +1154,9 @@ DUOFERN_Parse($$)
} elsif($msg =~ m/0FFF0713.*/) {
readingsSingleUpdate($hash, "event", "dawn", 1);
} elsif($msg =~ m/0FFF071E.*/) {
readingsSingleUpdate($hash, "state", "off", 1);
} elsif($msg =~ m/0FFF071F.*/) {
readingsSingleUpdate($hash, "state", "on", 1);
} elsif($msg =~ m/0FFF071F.*/) {
readingsSingleUpdate($hash, "state", "off", 1);
} elsif($msg =~ m/0FFF07(1A|18|19|01|02|03).*/) {
my $button = substr($msg, 6, 2);