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>
19 lines
690 B
TypeScript
19 lines
690 B
TypeScript
/**
|
|
* A speaker that is turned up and down by steps and does not know its volume. It reports nothing: the capability
|
|
* has no properties object in discovery.
|
|
*/
|
|
export declare const StepSpeaker: import("../types.js").InterfaceDescriptor<{}, {
|
|
AdjustVolume: {
|
|
name: string;
|
|
payload: import("../schema.js").Schema<import("../schema.js").InferShape<{
|
|
volumeSteps: import("../schema.js").Schema<number>;
|
|
}>>;
|
|
note: string;
|
|
};
|
|
SetMute: {
|
|
name: string;
|
|
payload: import("../schema.js").Schema<import("../schema.js").InferShape<{
|
|
mute: import("../schema.js").Schema<boolean>;
|
|
}>>;
|
|
};
|
|
}, {}, false>;
|