2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

10_ZWave.pm: add desired-temp reading to setpointTemp (Forum #124360)

git-svn-id: https://svn.fhem.de/fhem/trunk@25265 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-11-26 15:50:46 +00:00
parent 8e8fbdb3d8
commit 8499df2234

View File

@ -1615,7 +1615,8 @@ ZWave_thermostatSetpointParse ($$)
# output temperature with variable decimals as reported (according to $prec)
my $rt = sprintf("setpointTemp:%0.*f %s %s", $prec, $sp, $scale, $type);
return ($rt);
return $rt if($type !~ m/heating|cooling/);
return ($rt, sprintf("desired-temp:%0.*f", $prec, $sp) );
}
sub