2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhem.pl: set featurelevel to 5.9 (Forum #91870)

git-svn-id: https://svn.fhem.de/fhem/trunk@17488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-10-08 09:07:31 +00:00
parent 507137015f
commit 1ee6593c41

View File

@ -290,7 +290,7 @@ my %sleepers; # list of sleepers
$init_done = 0;
$lastDefChange = 0;
$readytimeout = ($^O eq "MSWin32") ? 0.1 : 5.0;
$featurelevel = 5.8; # see also GlobalAttr
$featurelevel = 5.9; # see also GlobalAttr
$modules{Global}{ORDER} = -1;
@ -316,7 +316,7 @@ my @globalAttrList = qw(
dnsServer
dupTimeout
exclude_from_update
featurelevel:5.5,5.6,5.7,5.8,99.99
featurelevel:5.5,5.6,5.7,5.8,5.9,99.99
genericDisplayType:switch,outlet,light,blind,speaker,thermostat
holiday2we
httpcompress:0,1
@ -2634,7 +2634,7 @@ GlobalAttr($$$$)
if($type eq "del") {
my %noDel = ( modpath=>1, verbose=>1, logfile=>1 );
return "The global attribute $name cannot be deleted" if($noDel{$name});
$featurelevel = 5.8 if($name eq "featurelevel");
$featurelevel = 5.9 if($name eq "featurelevel");
$haveInet6 = 0 if($name eq "useInet6"); # IPv6
return undef;
}