mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
autocreate.pm: Add ModeleName to the usb and createlog commands
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8138 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d013989475
commit
d0584cdc7d
@ -46,7 +46,6 @@ my %zwave_class = (
|
||||
reportOn => "03FF",
|
||||
reportOff => "0300", },
|
||||
get => { swmStatus => "02", },
|
||||
#03260363 reported in http://forum.fhem.de/index.php?t=rview&th=10216
|
||||
parse => { "032603(.*)"=> '($1 eq "00" ? "state:off" :
|
||||
($1 eq "ff" ? "state:on" :
|
||||
"state:dim ".hex($1)))',}, },
|
||||
|
@ -70,11 +70,13 @@ autocreate_Initialize($)
|
||||
$hash->{AttrList}= "autosave filelog device_room weblink weblink_room " .
|
||||
"disable ignoreTypes";
|
||||
my %ahash = ( Fn=>"CommandCreateLog",
|
||||
Hlp=>"<device>,create log/weblink for <device>" );
|
||||
Hlp=>"<device>,create log/weblink for <device>",
|
||||
ModuleName => "autocreate" );
|
||||
$cmds{createlog} = \%ahash;
|
||||
|
||||
my %bhash = ( Fn=>"CommandUsb",
|
||||
Hlp=>"[scan|create],display or create fhem-entries for USB devices" );
|
||||
Hlp=>"[scan|create],display or create fhem-entries for USB devices",
|
||||
ModuleName => "autocreate" );
|
||||
$cmds{usb} = \%bhash;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user