In one of the intents that I am defining, the user is supposed to say "Turn the fan on", and the words fan and on should be mapped to DeviceType and DeviceState slots respectively. But alexa takes the sentence and puts it in DeviceType. So , the response looks something like this:
{
"DeviceType" :{
"name":"DeviceType",
"value":"turn the fan on"
}
"DeviceState":{
"name":"DeviceState"
}
}
My utterance for this intent is defined as:
the {DeviceType} {DeviceState}
How should I resolve this?
Please don't answer in respect with Alexa Smart Home.