mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Avoid double events for measured-temp
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2501 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aaa8e19945
commit
722f9ac9a4
@ -564,7 +564,7 @@ FHT_Parse($$)
|
|||||||
} else {
|
} else {
|
||||||
readingsBulkUpdate($def, $cmd, $val);
|
readingsBulkUpdate($def, $cmd, $val);
|
||||||
if($cmd eq "measured-temp") {
|
if($cmd eq "measured-temp") {
|
||||||
readingsBulkUpdate($def, "state", "measured-temp: $val");
|
readingsBulkUpdate($def, "state", "measured-temp: $val", 0);
|
||||||
readingsBulkUpdate($def, "temperature", $val); # For dewpoint
|
readingsBulkUpdate($def, "temperature", $val); # For dewpoint
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user