mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 01:14:19 +00:00
PROPLANTA: midnight state bug fix
git-svn-id: https://svn.fhem.de/fhem/trunk@6907 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b3d395fb35
commit
5fb78d24f5
@ -558,7 +558,8 @@ sub PROPLANTA_Done($)
|
|||||||
|
|
||||||
if (keys %values > 0)
|
if (keys %values > 0)
|
||||||
{
|
{
|
||||||
readingsBulkUpdate($hash, "state", sprintf "Tmin: %.0f Tmax: %.0f T: %.1f H: %.1f W: %.1f P: %.1f", $values{fc0_tempMinC}, $values{fc0_tempMaxC}, $values{temperature}, $values{humidity}, $values{wind}, $values{pressure} );
|
# Achtung! Um Mitternacht fehlen die aktuellen Werte
|
||||||
|
readingsBulkUpdate($hash, "state", "Tmin: " . $values{fc0_tempMinC} . " Tmax: " . $values{fc0_tempMaxC} . " T: " . $values{temperature} . " H: " . $values{humidity} . " W: " . $values{wind} . " P: " . $values{pressure} );
|
||||||
readingsBulkUpdate( $hash, "lastConnection", keys( %values )." values captured" );
|
readingsBulkUpdate( $hash, "lastConnection", keys( %values )." values captured" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user