question

newuser-5175f25f-75a3-4429-b39e-beb55535053e avatar image

what stubControlFunctionToYourCloud(endpointId, token, request); is doing? in Alexa Home skill for lights

if (requestMethod === "TurnOn") {
// Make the call to your device cloud for control
// powerResult = stubControlFunctionToYourCloud(endpointId, token, request);
powerResult = "ON";
}
alexa skills kitalexaalexa smart homealexa skills challenge
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers