mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
39_alexa.pm: fix for customSlots in fhemIntents. see forum https://forum.fhem.de/index.php/topic,67490.msg595515.html#msg595515
git-svn-id: https://svn.fhem.de/fhem/trunk@13541 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
68d9856d03
commit
e4b4da2567
@ -49,7 +49,7 @@ alexa_AttrDefaults($)
|
||||
"Saturation=verb=stelle,property=sättigung,valuePrefix=auf,values=AMAZON.NUMBER\n".
|
||||
"Saturation=verb=sättige,values=AMAZON.NUMBER\n\n".
|
||||
|
||||
"TargetPosition=verb=mach,articles=den,values=auf:100;zu:0\n".
|
||||
"TargetPosition=verb=mach,articles=den;die,values=auf:100;zu:0\n".
|
||||
"TargetPosition=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=prozent\n\n".
|
||||
|
||||
"TargetTemperature=verb=stelle,valuePrefix=auf,values=AMAZON.NUMBER,valueSuffix=grad\n\n".
|
||||
@ -442,7 +442,7 @@ Log 1, $intent_name;
|
||||
$types->{"${intent_name}_${name}_Value"} = \@values if( $values[0] );
|
||||
}
|
||||
|
||||
$slot =~ s/\+/\\\+/;
|
||||
$slot =~ s/\+/\\\+/g;
|
||||
$utterance =~ s/\{$slot\}/\{$slot_name\}/;
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user