Inorder to discover AC, here is my response sent to skill :
{
"event":{
"header":{
"namespace":"Alexa.Discovery",
"name":"Discover.Response",
"payloadVersion":"3",
"messageId":"ef142f49-3ff9-43a5-9eb3-ba2c249c8355"
},
"payload":{
"endpoints":[
{
"endpointId":"60",
"manufacturerName":"Sample Manufacturer",
"friendlyName":"AC",
"description":"AC in ROOM",
"displayCategories":[
"THERMOSTAT"
],
"cookie":{
"type":"ac"
},
"capabilities":[
{
"type":"AlexaInterface",
"interface":"Alexa.ThermostatController",
"version":"3",
"properties":{
"supported":[
{
"name":"targetSetpoint"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa.TemperatureSensor",
"version":"3",
"properties":{
"supported":[
{
"name":"temperature"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa.PowerController",
"version":"3",
"properties":{
"supported":[
{
"name":"powerState"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa.EndpointHealth",
"version":"3",
"properties":{
"supported":[
{
"name":"connectivity"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa",
"version":"3"
}
]
}
}
}
}
The above configuration works perfectly fine.
Now i want to attach PowerLevel interface with it having EnumeratedPowerLevel value of LOW, MEDIUM and HIGH.
Such that users will be able to say "Alexa set AC to medium/high/low". Can anyone assist me as i found the documentation a bit confusing and less elaborate.