MAX: improve parsing WallThermostatState
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2470 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -600,8 +600,10 @@ MAXLAN_Parse($$)
|
||||
|
||||
if(!$shash) {
|
||||
Log 2, "Got List response for undefined device with addr $addr";
|
||||
}elsif($shash->{type} eq "HeatingThermostat" or $shash->{type} eq "WallMountedThermostat"){
|
||||
}elsif($shash->{type} eq "HeatingThermostat"){
|
||||
Dispatch($hash, "MAX,1,ThermostatState,$addr,$payload", {RAWMSG => $rmsg});
|
||||
}elsif($shash->{type} eq "WallMountedThermostat"){
|
||||
Dispatch($hash, "MAX,1,WallThermostatState,$addr,$payload", {RAWMSG => $rmsg});
|
||||
}elsif($shash->{type} eq "ShutterContact"){
|
||||
Dispatch($hash, "MAX,1,ShutterContactState,$addr,$payload", {RAWMSG => $rmsg});
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user