39_alexa.pm: also output customSlotTypes in fhem

git-svn-id: https://svn.fhem.de/fhem/trunk@12653 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2016-11-25 18:30:26 +00:00
parent e2b8c94617
commit 2021d2fda9

View File

@@ -100,7 +100,11 @@ alexa_Get($$@)
my $list = "customSlotTypes";
if( lc($cmd) eq 'customslottypes' ) {
FW_directNotify($name, 'customSlotTypes');
if( $hash->{CL} ) {
FW_directNotify($name, "customSlotTypes $hash->{CL}{NAME}");
} else {
FW_directNotify($name, 'customSlotTypes');
}
return undef;
}
@@ -185,7 +189,8 @@ alexa_Attr($$$)
<b>Get</b>
<ul>
<li>customSlotTypes<br>
Instructs alexa-fhem to write the Custom Slot Types for the Interaction Model to the console.
Instructs alexa-fhem to write the Custom Slot Types for the Interaction Model to the alexa-fhem console
and if possible to the requesting fhem frontend.
</li>
</ul>