From f7578af68dd5d58529ce39f3f7b6e0bf763dddea Mon Sep 17 00:00:00 2001 From: mgehre <> Date: Sun, 13 Jan 2013 14:52:47 +0000 Subject: [PATCH] MAX: Set mode for Wallthermostats git-svn-id: https://svn.fhem.de/fhem/trunk@2503 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_MAX.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/10_MAX.pm b/fhem/FHEM/10_MAX.pm index 70f57ccc7..ec71e22b3 100755 --- a/fhem/FHEM/10_MAX.pm +++ b/fhem/FHEM/10_MAX.pm @@ -497,6 +497,7 @@ MAX_Parse($$) Log 5, "battery $batterylow, rferror $rferror, panel $panel, langateway $langateway, dstsetting $dstsetting, mode $mode, displayActualTemperature $displayActualTemperature, heaterTemperature $heaterTemperature"; $shash->{rferror} = $rferror; + readingsBulkUpdate($shash, "mode", $ctrl_modes[$mode] ); readingsBulkUpdate($shash, "battery", $batterylow ? "low" : "ok"); readingsBulkUpdate($shash, "displayActualTemperature", ($displayActualTemperature) ? 1 : 0); } else {