FHEM/10_FBDECT.pm: readd desired-temp Reading (Forum #61788)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12698 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-12-02 12:11:47 +00:00
parent f5bbee36d9
commit b3ee12d736

View File

@ -272,12 +272,9 @@ FBDECT_ParseHttp($$$)
if($n eq "tsoll"); if($n eq "tsoll");
$val = $type if($n eq "productname" && $val eq ""); $val = $type if($n eq "productname" && $val eq "");
my ($ptyp,$pyld) = split(":", eval $fbhttp_readings{$n}, 2); my ($ptyp,$pyld) = split(":", eval $fbhttp_readings{$n}, 2);
if($n eq "tsoll") { readingsBulkUpdate($hash, "state", "$ptyp: $pyld") if($n eq "tsoll");
readingsBulkUpdate($hash, "state", "$ptyp: $pyld")
} else {
readingsBulkUpdate($hash, $ptyp, $pyld); readingsBulkUpdate($hash, $ptyp, $pyld);
} }
}
readingsEndUpdate($hash, 1); readingsEndUpdate($hash, 1);
return $hash->{NAME}; return $hash->{NAME};