mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-08 05:15:10 +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->{SetFn} = "HCS_Set";
|
||||
$hash->{NotifyFn} = "HCS_Notify";
|
||||
$hash->{AttrList} = "deviceCmdOn deviceCmdOff exclude ecoTemperatureOn ecoTemperatureOff ".
|
||||
"interval idleperiod mode:thermostat,valve ".
|
||||
"sensor sensorThresholdOn sensorThresholdOff sensorReading ".
|
||||
"thermostatThresholdOn thermostatThresholdOff ".
|
||||
"valveThresholdOn valveThresholdOff ".
|
||||
"do_not_notify:1,0 " . $readingFnAttributes .
|
||||
"disable:0,1";
|
||||
no warnings 'qw';
|
||||
my @attrList = qw(
|
||||
deviceCmdOff
|
||||
deviceCmdOn
|
||||
disable:0,1
|
||||
ecoTemperatureOff
|
||||
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