mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
f5bbee36d9
commit
b3ee12d736
@ -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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user