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:
@@ -272,11 +272,8 @@ 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")
|
readingsBulkUpdate($hash, $ptyp, $pyld);
|
||||||
} else {
|
|
||||||
readingsBulkUpdate($hash, $ptyp, $pyld);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
readingsEndUpdate($hash, 1);
|
readingsEndUpdate($hash, 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user