59_HCS.pm: reformat Attribtues, fix desabled problem (Forum #43266)

git-svn-id: https://svn.fhem.de/fhem/trunk@9735 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-10-31 13:25:24 +00:00
parent 7407c3fbf2
commit bcc7c23ef6

View File

@ -74,13 +74,28 @@ HCS_Initialize($$)
$hash->{GetFn} = "HCS_Get"; $hash->{GetFn} = "HCS_Get";
$hash->{SetFn} = "HCS_Set"; $hash->{SetFn} = "HCS_Set";
$hash->{NotifyFn} = "HCS_Notify"; $hash->{NotifyFn} = "HCS_Notify";
$hash->{AttrList} = "deviceCmdOn deviceCmdOff exclude ecoTemperatureOn ecoTemperatureOff ". no warnings 'qw';
"interval idleperiod mode:thermostat,valve ". my @attrList = qw(
"sensor sensorThresholdOn sensorThresholdOff sensorReading ". deviceCmdOff
"thermostatThresholdOn thermostatThresholdOff ". deviceCmdOn
"valveThresholdOn valveThresholdOff ". disable:0,1
"do_not_notify:1,0 " . $readingFnAttributes . ecoTemperatureOff
"disable:0,1"; ecoTemperatureOn
exclude
idleperiod
interval
mode:thermostat,valve
sensor
sensorReading
sensorThresholdOff
sensorThresholdOn
thermostatThresholdOff
thermostatThresholdOn
valveThresholdOff
valveThresholdOn
);
use warnings 'qw';
$hash->{AttrList} = join(" ", @attrList) ." ". $readingFnAttributes;
} }
##################################### #####################################