justme-1968 / alexa-fhem

Anbindung von FHEM über Alexa Smart Home Skill und/oder Custom Skill
https://wiki.fhem.de/wiki/FHEM_Connector
11 stars 7 forks source link

on IntentRequests the confirmationStatus will be evaluated #26

Closed OliverWieland closed 1 year ago

OliverWieland commented 1 year ago

If in an indent a confirmation is required (that is, when Alexa should ask the user for a confirmation of the command), the "confirmationStatus" inicates the result of this confirmation. The value is either "CONFIRMED" or "DENIED" (refer to https://developer.amazon.com/en-US/docs/alexa/custom-skills/dialog-interface-reference.html#details)

My pull request implements this confirmationStatus. Only if the value is not "DENIED", the command will be submitted to FHEM. I use "not DENIED" rather than "CONFIRMED" in case the confirmationStatus is undefined

justme-1968 commented 1 year ago

thanks!