From 82c2365dcdc7c217ebaede9915365c87cccd786f Mon Sep 17 00:00:00 2001 From: Damian <> Date: Wed, 3 May 2017 20:10:16 +0000 Subject: [PATCH] 98_THRESHOLD.pm: fixed: default hysteresis without actor git-svn-id: https://svn.fhem.de/fhem/trunk@14179 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_THRESHOLD.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_THRESHOLD.pm b/fhem/FHEM/98_THRESHOLD.pm index 585753700..ecb96f006 100644 --- a/fhem/FHEM/98_THRESHOLD.pm +++ b/fhem/FHEM/98_THRESHOLD.pm @@ -174,7 +174,7 @@ THRESHOLD_Define($$$) $attr{$pn}{state_cmd1_gt}="off"; $attr{$pn}{state_cmd2_lt}="on"; $attr{$pn}{state_format} = "_sc"; - $hysteresis = 0; + $hysteresis = 0 if (!$hysteresis); $cmd_default = 0; } else { $cmd1_gt = "set $actor off"; @@ -626,6 +626,9 @@ THRESHOLD_setValue($$) 1; =pod +=item helper +=item summary simulation of a thermostat or humidistat +=item summary_DE Simulation eines Zweipunktreglers =begin html