From c3a5f057f6b5e9fc1a9e20342f6e463c52d3a257 Mon Sep 17 00:00:00 2001 From: mgehre <> Date: Tue, 22 Jan 2013 23:02:41 +0000 Subject: [PATCH] MAX: determine type of device based on HeatingThermostatConfig, ThermostatState git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2555 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/10_MAX.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FHEM/10_MAX.pm b/FHEM/10_MAX.pm index 822374b8d..f6ccecd9a 100755 --- a/FHEM/10_MAX.pm +++ b/FHEM/10_MAX.pm @@ -436,6 +436,7 @@ MAX_Parse($$) $devicetype = "ShutterContact" if($msgtype eq "ShutterContactState"); $devicetype = "Cube" if($msgtype eq "CubeClockState" or $msgtype eq "CubeConnectionState"); $devicetype = "WallMountedThermostat" if($msgtype ~~ ["WallThermostatConfig","WallThermostatState"]); + $devicetype = "HeatingThermostat" if($msgtype ~~ ["HeatingThermostatConfig", "ThermostatState"]); if($devicetype) { return "UNDEFINED MAX_$addr MAX $devicetype $addr"; } else {