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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user