2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

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:
justme-1968 2016-11-25 18:30:26 +00:00
parent 3efe4a24e0
commit 79eb4210b7

View File

@ -100,7 +100,11 @@ alexa_Get($$@)
my $list = "customSlotTypes"; my $list = "customSlotTypes";
if( lc($cmd) eq '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; return undef;
} }
@ -185,7 +189,8 @@ alexa_Attr($$$)
<b>Get</b> <b>Get</b>
<ul> <ul>
<li>customSlotTypes<br> <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> </li>
</ul> </ul>