mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 19:54:19 +00:00
39_alexa.pm: added unregister command
git-svn-id: https://svn.fhem.de/fhem/trunk@18283 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9ae91ebe98
commit
a222c33941
@ -878,6 +878,17 @@ alexa_Set($$@)
|
||||
|
||||
FW_directNotify($name, 'clearProxyCredentials');
|
||||
|
||||
return undef;
|
||||
|
||||
} elsif( $cmd eq 'unregister' ) {
|
||||
FW_directNotify($name, 'unregister');
|
||||
|
||||
fhem( "set $name clearProxyCredentials" );
|
||||
|
||||
CommandAttr( undef, '$name disable 1' );
|
||||
|
||||
CommandSave(undef,undef) if( AttrVal( "autocreate", "autosave", 1 ) );
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user