2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 23:09:26 +00:00

CUL_MAX: fix initial config after pair

git-svn-id: https://svn.fhem.de/fhem/trunk@2273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2012-12-06 22:56:47 +00:00
parent 5679738251
commit e9b8eddc38

View File

@ -208,7 +208,7 @@ CUL_MAX_Parse($$)
Dispatch($shash, "MAX,define,$src,$device_types{$type},$serial,0,0", {RAWMSG => $rmsg}); 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") { 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 #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 #TODO: send TimeInformation
} }