mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
MAX: format desiredTemperature with fixed precision
This make the new longpoll update of dropdowns work. git-svn-id: https://svn.fhem.de/fhem/trunk@2200 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4bdd36c988
commit
47f90870ae
@ -264,7 +264,8 @@ MAX_Parse($$)
|
||||
|
||||
readingsBeginUpdate($shash);
|
||||
readingsBulkUpdate($shash, "battery", $batterylow ? "low" : "ok");
|
||||
readingsBulkUpdate($shash, "desiredTemperature", $temperaturesetpoint);
|
||||
#This formatting must match with in MAX_Set:$templist
|
||||
readingsBulkUpdate($shash, "desiredTemperature", sprintf("%2.1f",$temperaturesetpoint));
|
||||
readingsBulkUpdate($shash, "valveposition", $valveposition);
|
||||
if($measuredTemperature ne "") {
|
||||
readingsBulkUpdate($shash, "temperature", $measuredTemperature);
|
||||
|
Loading…
x
Reference in New Issue
Block a user