2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 01:14:19 +00:00

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

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

View File

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