MAX: determine type of device based on HeatingThermostatConfig, ThermostatState
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2555 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user