Avoid double events for measured-temp

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2501 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-01-13 09:32:36 +00:00
parent bd2ca1fa06
commit e31dd2c6f1

View File

@@ -564,7 +564,7 @@ FHT_Parse($$)
} else {
readingsBulkUpdate($def, $cmd, $val);
if($cmd eq "measured-temp") {
readingsBulkUpdate($def, "state", "measured-temp: $val");
readingsBulkUpdate($def, "state", "measured-temp: $val", 0);
readingsBulkUpdate($def, "temperature", $val); # For dewpoint
}
}