mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
7407c3fbf2
commit
bcc7c23ef6
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user