Hi,
Documentation of ChangeReport for Alexa.ContactSensor seems to be wrong.
Although my ChangeReport is almost identical the Log in AlexaDeveloperConsole shows an error. So what's wrong here?
{
"header": {
"namespace": "SkillDebugger",
"name": "CaptureDebuggingInfo",
"messageId": "cabd3b0d-defc-4ab2-b6fc-eee0b395debb"
},
"payload": {
"skillId": "amzn1.ask.skill.f6ed277a-9ad6-47c0-bb42-1bea1046b362",
"timestamp": "2020-04-24T05:10:18.662Z",
"dialogRequestId": null,
"skillRequestId": null,
"type": "SmartHomeChangeReportFailure",
"content": {
"errors": [
{
"code": "INVALID_PROPERTY",
"message": "Invalid property: Alexa.ContactSensor."
}
],
"changeReport": {
"event": {
"header": {
"namespace": "Alexa",
"name": "ChangeReport",
"messageId": "c5f38534-2a73-42da-855c-ea2a0f7a7c55",
"payloadVersion": "3"
},
"endpoint": {
"endpointId": "FensterKontakt20050F338D",
"scope": null
},
"payload": {
"change": {
"cause": {
"type": "PHYSICAL_INTERACTION"
},
"properties": [
{
"name": "detectionState",
"namespace": "Alexa.ContactSensor",
"timeOfSample": "2020-04-24T05:10:16.912Z",
"uncertaintyInMilliseconds": 0,
"value": {
"value": "DETECTED"
}
},
{
"name": "connectivity",
"namespace": "Alexa.EndpointHealth",
"timeOfSample": "2020-04-24T05:10:16.912Z",
"uncertaintyInMilliseconds": 0,
"value": {
"value": "OK"
}
}
]
}
}
},
"context": {
"properties": [
{
"name": "detectionState",
"namespace": "Alexa.ContactSensor",
"timeOfSample": "2020-04-24T05:10:16.912Z",
"uncertaintyInMilliseconds": 0,
"value": {
"value": "DETECTED"
}
},
{
"name": "connectivity",
"namespace": "Alexa.EndpointHealth",
"timeOfSample": "2020-04-24T05:10:16.912Z",
"uncertaintyInMilliseconds": 0,
"value": {
"value": "OK"
}
}
]
}
}
}
}
}