diff --git a/fhem/CHANGED b/fhem/CHANGED index 04a023234..cbcc5ada3 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -343,3 +343,5 @@ - feature: added archivedir/archivecmd to the the main logfile - feature: 99_Sunrise_EL.pm (does not need any Date modules) - bugfix: Seldom xmllist error resulting in corrupt xml (Martin/Peter, 4.9) + - bugfix: FHT mode holiday_short added (9.9, Dirk) + - bugfix: Modifying a device from its own trigger crashes (Klaus, 10.9) diff --git a/fhem/FHEM/11_FHT.pm b/fhem/FHEM/11_FHT.pm index ef45b4a09..672390e49 100755 --- a/fhem/FHEM/11_FHT.pm +++ b/fhem/FHEM/11_FHT.pm @@ -103,12 +103,11 @@ my %nosetarg = ( "refreshvalues" => 1, ); -my %c2m = (0 => "auto", 1 => "manual", 2 => "holiday"); -my %m2c = ("auto" => 0, "manual" => 1, "holiday" => 2); - -my %defptr; +my %c2m = (0 => "auto", 1 => "manual", 2 => "holiday", 3 => "holiday_short"); +my %m2c; # Reverse c2m my %c2b; # command->button hash (reverse of codes) my %c2bset; # Setteable values +my %defptr; ##################################### @@ -122,6 +121,9 @@ FHT_Initialize($) $c2b{$v} = $k; $c2bset{$v} = substr($k, 0, 2) if(!defined($cantset{$v})); } + foreach my $k (keys %c2m) { + $m2c{$c2m{$k}} = $k; + } $c2bset{refreshvalues} = "65ff66ff"; # 810c0426 0909a001 1111 1600 diff --git a/fhem/HISTORY b/fhem/HISTORY index afe6d2710..9b36b4007 100644 --- a/fhem/HISTORY +++ b/fhem/HISTORY @@ -138,3 +138,7 @@ - Rudi Mon Sep 3 15:47:59 MEST 2007 - 99_Sunrise_EL.pm checked in. Replaces 99_Sunrise.pm, and does not need any Date module. + +- Rudi Sun Sep 9 08:43:03 MEST 2007 + - mode holiday_short added + documentation. Not tested. + any Date module. diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index 1c99666f6..6f2c48521 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -1349,6 +1349,9 @@ split in multiple lines

sun-from2 sun-to2 mode + holiday1 + holiday2 + mode desired-temp day-temp night-temp @@ -1362,7 +1365,18 @@ split in multiple lines