Dominevo
ReferenceDevice capabilities

do-not-disturb

do-not-disturb - whether a speaker or display holds back its own sounds (announcements, notifications, alarms) until the operator lets it speak again.

do-not-disturb - whether a speaker or display holds back its own sounds (announcements, notifications, alarms) until the operator lets it speak again.

It is NOT part of media-player: a player is about what it plays and how loud, while Do Not Disturb is a household switch the vendor keeps per device. enabled is null when the vendor has not said (never a guess of false).

At a glance

Capabilitydo-not-disturb
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typesmedia-player
Sourcepackages/types/src/capabilities/do-not-disturb.cap.ts

Methods

Every method takes the device id (deviceId) to address the device; the input tables below list the other fields.

MethodKindRequired of a providerAccess
setEnabledmutationyesprotected

setEnabled

mutation

Input

FieldTypeRequiredDescription
enabledbooleanyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
dnd.onDo not disturb on
dnd.offDo not disturb off

Runtime state

The state Dominevo keeps for each device with this capability, readable without calling the provider.

FieldTypeRequiredDescription
enabledboolean | nullyesTrue while Do Not Disturb is on; null when unknown.
lastChangedAtnumberyesMs epoch of the last read or write that set enabled.