mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
52_I2C_HDC1008.pm: Fix "temperature" reading update
This was updated twice on each sensor read with strange trigger settings causing problems when used with "event-min-interval". git-svn-id: https://svn.fhem.de/fhem/trunk@22515 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
074b6b5cfa
commit
08e4928f77
@ -1,5 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 52_I2C_HDC1008: "temperature" reading now works correctly with
|
||||
event-min-interval
|
||||
- bugfix: 48_BlinkCamera: Corrected handling of prefered network attribute
|
||||
- change: 70_SolarEdgeAPI: allow smaller intervals for API queries
|
||||
- change: 66_EseraOneWire: switching to recommended firmware version 12029
|
||||
|
@ -203,8 +203,6 @@ sub I2C_HDC1008_GetTemp ($$)
|
||||
|
||||
|
||||
$temperature = sprintf( '%.' . AttrVal($hash->{NAME}, 'roundTemperatureDecimal', 1) . 'f', $temperature );
|
||||
|
||||
readingsSingleUpdate($hash, "temperature", $temperature, 0);
|
||||
}
|
||||
|
||||
sub I2C_HDC1008_GetHum ($$)
|
||||
|
Loading…
Reference in New Issue
Block a user