mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
39_alexa.pm: added echoRooms attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@13964 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e22295c6e7
commit
30de824ad9
@ -25,6 +25,7 @@ alexa_Initialize($)
|
||||
$hash->{AttrFn} = "alexa_Attr";
|
||||
$hash->{AttrList} = "alexaMapping:textField-long alexaTypes:textField-long fhemIntents:textField-long ".
|
||||
"articles prepositions ".
|
||||
"echoRooms:textField-long ".
|
||||
"alexaConfirmationLevel:2,1,0 alexaStatusLevel:2,1 ".
|
||||
$readingFnAttributes;
|
||||
}
|
||||
@ -65,6 +66,11 @@ alexa_AttrDefaults($)
|
||||
"blind=rolladen,rolläden,jalousie,jalousien,rollo,rollos" );
|
||||
}
|
||||
|
||||
if( !AttrVal( $name, 'echoRooms', undef ) ) {
|
||||
CommandAttr(undef,"$name echoRooms #<deviceId>=<room>\n" );
|
||||
}
|
||||
|
||||
|
||||
if( !AttrVal( $name, 'fhemIntents', undef ) ) {
|
||||
CommandAttr(undef,"$name fhemIntents #IntentName=<sample utterance>\n".
|
||||
"gutenMorgen=guten morgen\n".
|
||||
|
Loading…
x
Reference in New Issue
Block a user