Seven descriptors written from their pages replace seven stubs. All are version 3; 1.5.2 announced Speaker, StepSpeaker, EqualizerController and PlaybackStateReporter as version 1, and all but ChannelController without a property. StepSpeaker has no properties object in discovery and PlaybackController one without fields, next to supportedOperations; a directive for an operation the device did not list is answered with INVALID_DIRECTIVE. The equalizer declares bands, modes or both under "configurations", a TV its inputs from the 61 names of the page. Not described: the lineup of ChannelController, whose discovery example the page folds away. The discovery examples of InputController spell one key "friendNames"; the fixtures have friendlyNames, as its table does. 62 examples of the six pages are saved as fixtures. 241 tests pass, 215 before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
37 lines
884 B
JSON
37 lines
884 B
JSON
{
|
|
"event": {
|
|
"header": {
|
|
"namespace": "Alexa",
|
|
"name": "Response",
|
|
"messageId": "Unique identifier, preferably a version 4 UUID",
|
|
"correlationToken": "Opaque correlation token that matches the request",
|
|
"payloadVersion": "3"
|
|
},
|
|
"endpoint": {
|
|
"endpointId": "endpoint id"
|
|
},
|
|
"payload": {}
|
|
},
|
|
"context": {
|
|
"properties": [
|
|
{
|
|
"namespace": "Alexa.PlaybackStateReporter",
|
|
"name": "playbackState",
|
|
"value": {
|
|
"state": "PAUSED"
|
|
},
|
|
"timeOfSample": "2021-12-01T18:20:00.00Z",
|
|
"uncertaintyInMilliseconds": 0
|
|
},
|
|
{
|
|
"namespace": "Alexa.EndpointHealth",
|
|
"name": "connectivity",
|
|
"value": {
|
|
"value": "OK"
|
|
},
|
|
"timeOfSample": "2021-12-01T18:00:00.00Z",
|
|
"uncertaintyInMilliseconds": 0
|
|
}
|
|
]
|
|
}
|
|
}
|