diff --git a/fhem/CHANGED b/fhem/CHANGED index f1691e5b8..81801e2d6 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 10_FS20: add useSetExtensions attribute, default is 1 - feature: 82_LGTV_WebOS: Version 0.8.0, fix screenMsg Charset problem - bugfix: 93_DbLog: V2.18.3, cannot load V2.18.2, new internal 'model' - bugfix: list: do not change the upper casing of hashes (Forum #73828) diff --git a/fhem/FHEM/10_FS20.pm b/fhem/FHEM/10_FS20.pm index 821bfa260..d8579b5b2 100755 --- a/fhem/FHEM/10_FS20.pm +++ b/fhem/FHEM/10_FS20.pm @@ -128,7 +128,7 @@ FS20_Initialize($) $hash->{ParseFn} = "FS20_Parse"; $hash->{AttrList} = "IODev follow-on-for-timer:1,0 follow-on-timer ". "do_not_notify:1,0 ignore:1,0 dummy:1,0 showtime:1,0 ". - "$readingFnAttributes " . + "useSetExtensions:0,1 $readingFnAttributes " . "model:".join(",", sort keys %models); } @@ -209,7 +209,9 @@ FS20_Set($@) } $list = (join(" ", sort keys %fs20_c2b) . " dim:slider,0,6.25,100") if(!defined($list)); - return SetExtensions($hash, $list, @a); + return SetExtensions($hash, $list, @a) + if(AttrVal($name, "useSetExtensions", 1)); + return "Unknown argument $a[1], choose one of $list"; } SetExtensionsCancel($hash); @@ -665,6 +667,11 @@ four2hex($$)