MAX: add "mode" to READINGS

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2012-12-09 15:02:51 +00:00
parent 35d7ab9dc7
commit bf06601e56

View File

@@ -380,6 +380,7 @@ MAX_Parse($$)
}
readingsBeginUpdate($shash);
readingsBulkUpdate($shash, "mode", $ctrl_modes[$mode] );
readingsBulkUpdate($shash, "battery", $batterylow ? "low" : "ok");
#This formatting must match with in MAX_Set:$templist
readingsBulkUpdate($shash, "desiredTemperature", sprintf("%2.1f",$temperaturesetpoint));