mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 22:09:21 +00:00
98_THRESHOLD.pm: fixed: default hysteresis without actor
git-svn-id: https://svn.fhem.de/fhem/trunk@14179 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
14148dac48
commit
82c2365dcd
@ -174,7 +174,7 @@ THRESHOLD_Define($$$)
|
|||||||
$attr{$pn}{state_cmd1_gt}="off";
|
$attr{$pn}{state_cmd1_gt}="off";
|
||||||
$attr{$pn}{state_cmd2_lt}="on";
|
$attr{$pn}{state_cmd2_lt}="on";
|
||||||
$attr{$pn}{state_format} = "_sc";
|
$attr{$pn}{state_format} = "_sc";
|
||||||
$hysteresis = 0;
|
$hysteresis = 0 if (!$hysteresis);
|
||||||
$cmd_default = 0;
|
$cmd_default = 0;
|
||||||
} else {
|
} else {
|
||||||
$cmd1_gt = "set $actor off";
|
$cmd1_gt = "set $actor off";
|
||||||
@ -626,6 +626,9 @@ THRESHOLD_setValue($$)
|
|||||||
1;
|
1;
|
||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
=item helper
|
||||||
|
=item summary simulation of a thermostat or humidistat
|
||||||
|
=item summary_DE Simulation eines Zweipunktreglers
|
||||||
=begin html
|
=begin html
|
||||||
|
|
||||||
<a name="THRESHOLD"></a>
|
<a name="THRESHOLD"></a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user