From d2948cea971ba3164a9d93b68c66ffbba98bfe92 Mon Sep 17 00:00:00 2001 From: mgehre Date: Thu, 6 Dec 2012 22:56:47 +0000 Subject: [PATCH] CUL_MAX: fix initial config after pair git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2273 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/14_CUL_MAX.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/14_CUL_MAX.pm b/fhem/FHEM/14_CUL_MAX.pm index cfef1b004..a9c3516cc 100644 --- a/fhem/FHEM/14_CUL_MAX.pm +++ b/fhem/FHEM/14_CUL_MAX.pm @@ -208,7 +208,7 @@ CUL_MAX_Parse($$) Dispatch($shash, "MAX,define,$src,$device_types{$type},$serial,0,0", {RAWMSG => $rmsg}); if($device_types{$type} eq "HeatingThermostat" or $device_types{$type} eq "WallMountedThermostat") { #This are the default values that a device has after factory reset or pairing - Dispatch($hash, "MAX,ThermostatConfig,$src,17,21,80,5,0,30.5,4.5,12,15", {RAWMSG => $rmsg}); + Dispatch($shash, "MAX,ThermostatConfig,$src,17,21,80,5,0,30.5,4.5,12,15", {RAWMSG => $rmsg}); } #TODO: send TimeInformation }