mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
10_FS20.pm: add useSetExtensions attribetu, default is 1
git-svn-id: https://svn.fhem.de/fhem/trunk@14675 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2ca4b11e73
commit
140fa058c3
@ -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)
|
||||
|
@ -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($$)
|
||||
<li><a href="#showtime">showtime</a></li>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
|
||||
|
||||
<li>useSetExtensions<br>
|
||||
Setting it to 0 you can disable using the Setextensions. Deffault is 1.
|
||||
</li><br>
|
||||
|
||||
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
@ -908,6 +915,11 @@ four2hex($$)
|
||||
<li><a href="#showtime">showtime</a></li>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
|
||||
|
||||
<li>useSetExtensions<br>
|
||||
Falls es auf 0 gesetzt wird, werden die SetExtensions Befehle nicht
|
||||
angeboten. Die Voreinstellung ist 1.
|
||||
</li><br>
|
||||
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user