provider Assistant POST
/assistant/notifications @utdk/google/home
/assistant/notifications Do Not Disturb
This is for the Do Not Disturb option. Sending an empty-body POST returns the current value. Sending a new value changes it.
- Content-Type header required
- string
Try it
Authentication
Configure credentials for Google Home
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import google_home from '@utdk/google/home';
await google_home.donotdisturb()