mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
39_alexa.pm: added RoomAnswerIntent
git-svn-id: https://svn.fhem.de/fhem/trunk@12788 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3962a8e5d1
commit
012fe4b2de
@ -336,6 +336,9 @@ Log 1, Dumper $characteristicsOfIntent;
|
||||
slots => [ { name => 'Device', type => 'FHEM_Device' },
|
||||
{ name => 'preposition', type => 'FHEM_preposition' },
|
||||
{ name => 'Room', type => 'FHEM_Room' } ]};
|
||||
push @{$schema->{intents}}, {intent => "RoomAnswerIntent",
|
||||
slots => [ { name => 'preposition', type => 'FHEM_preposition' },
|
||||
{ name => 'Room', type => 'FHEM_Room' } ]};
|
||||
push @{$schema->{intents}}, {intent => "RoomListIntent", };
|
||||
push @{$schema->{intents}}, {intent => "DeviceListIntent",
|
||||
slots => [ { name => 'article', type => 'FHEM_article' },
|
||||
@ -348,6 +351,10 @@ Log 1, Dumper $characteristicsOfIntent;
|
||||
$samples .= "\nStatusIntent status von {Device}";
|
||||
$samples .= "\nStatusIntent wie ist der status von {Device}";
|
||||
$samples .= "\nStatusIntent wie ist der status {preposition} {Room}";
|
||||
$samples .= "\n";
|
||||
|
||||
$samples .= "\nRoomAnswerIntent {preposition} {Room}";
|
||||
$samples .= "\n";
|
||||
|
||||
$samples .= "\nRoomListIntent raumliste";
|
||||
$samples .= "\nDeviceListIntent geräteliste";
|
||||
|
Loading…
Reference in New Issue
Block a user