Good morning,
We are creating a Smart home skill to manage a customized device (a water dispenser). The device is mapped to the skill through a ModeController (which manages the type of water to be dispensed), a RangeController (which manages the dosage) and a PowerController that starts the dispensing.
Our client requested a custom utterance of the type "Alexa, dispense {dose} of {mode} water.
To use custom utterance, I thought I'd create a routine to share but I saw that in the routine I can not manage all the controllers of the device, but in my case only the PowerController. How can I manage my other Controllers?
this is my discovery response
{ "event": { "header": { "namespace": "Alexa.Discovery", "name": "Discover.Response", "messageId": "91018b05-9462-41db-bbf1-310184b91bb3", "payloadVersion": "3" }, "payload": { "endpoints": [ { "endpointId": "customEndpointId", "manufacturerName": "Manufacturer", "description": "Manufacturer Device", "friendlyName": "test virtual device 2", "additionalAttributes": { "manufacturer": "Manufacturer", "serialNumber": "123654", "firmwareVersion": "0", "customIdentifier": "customEndpointId_connectionBoard" }, "displayCategories": [ "OTHER" ], "capabilities": [ { "type": "AlexaInterface", "instance": "Manufacturer.Dose", "version": "3", "properties": { "supported": [ { "name": "rangeValue" } ], "retrievable": true }, "configuration": { "supportedRange": { "minimumValue": 0, "maximumValue": 3, "precision": 1 } }, "capabilityResources": { "friendlyNames": [ { "@type": "asset", "value": { "assetId": "Dosaggio" } }, { "@type": "text", "value": { "text": "Dosaggio", "locale": "it-IT" } } ] }, "interface": "Alexa.RangeController" }, { "type": "AlexaInterface", "instance": "Manufacturer.Mode", "version": "3", "properties": { "supported": [ { "name": "mode" } ], "proactivelyReported": true, "retrievable": true, "nonControllable": false }, "configuration": { "supportedModes": [ { "value": "plain", "modeResources": { "friendlyNames": [ { "@type": "text", "value": { "text": "Liscia", "locale": "it-IT" } } ] } }, { "value": "cold", "modeResources": { "friendlyNames": [ { "@type": "text", "value": { "text": "Fredda", "locale": "it-IT" } } ] } }, { "value": "hot", "modeResources": { "friendlyNames": [ { "@type": "text", "value": { "text": "Calda", "locale": "it-IT" } } ] } }, { "value": "sparkling", "modeResources": { "friendlyNames": [ { "@type": "text", "value": { "text": "Gasata", "locale": "it-IT" } } ] } }, { "value": "lightSparkling", "modeResources": { "friendlyNames": [ { "@type": "text", "value": { "text": "Leggermente gasata", "locale": "it-IT" } } ] } } ], "ordered": false }, "capabilityResources": { "friendlyNames": [ { "@type": "asset", "value": { "assetId": "Modalità" } }, { "@type": "text", "value": { "text": "Modalità", "locale": "it-IT" } } ] }, "interface": "Alexa.ModeController" }, { "type": "AlexaInterface", "instance": "Manufacturer.Dispenser", "version": "3", "properties": { "supported": [ { "name": "powerState" } ], "proactivelyReported": true, "retrievable": true }, "interface": "Alexa.PowerController" }, { "type": "AlexaInterface", "version": "3", "interface": "Alexa" } ] } ] } } }