mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
86_Robonect.pm: replaced "umwelt" with "climate" in readings-section (roughly line 740)
git-svn-id: https://svn.fhem.de/fhem/trunk@16699 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dc17b8211f
commit
906bbe10bd
@ -38,6 +38,7 @@
|
||||
# ABU 20171006 added "umlautfilter" for test
|
||||
# ABU 20171006 added "health" for test
|
||||
# ABU 20171010 finished health for test, added chck for undef at each reading
|
||||
# ABU 20180507 replaced "umwelt" with "climate" in readings-section (roughly line 740)
|
||||
|
||||
package main;
|
||||
|
||||
@ -735,10 +736,10 @@ sub Robonect_callback ($)
|
||||
($key, $value) = Robonect_decodeContent ($hash, $answer, "health", "voltages", "batt");
|
||||
readingsBulkUpdate($hash, $key, $value) if (defined ($value) and !($value =~ m/undef/));
|
||||
|
||||
($key, $value) = Robonect_decodeContent ($hash, $answer, "health", "umwelt", "temperature");
|
||||
($key, $value) = Robonect_decodeContent ($hash, $answer, "health", "climate", "temperature");
|
||||
readingsBulkUpdate($hash, $key, $value) if (defined ($value) and !($value =~ m/undef/));
|
||||
|
||||
($key, $value) = Robonect_decodeContent ($hash, $answer, "health", "umwelt", "humidity");
|
||||
($key, $value) = Robonect_decodeContent ($hash, $answer, "health", "climate", "humidity");
|
||||
readingsBulkUpdate($hash, $key, $value) if (defined ($value) and !($value =~ m/undef/));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user