ManagerGoogleAssistant

Extends

Methods

connect

(async) connect(): Promise.<void>

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

(async) disconnect(): Promise.<void>

Disconnect from the realtime namespace.

Returns

Promise.<void>

getOptionEnabled

(async) getOptionEnabled(): Promise.<any>

Scopes

SYSTEM

HTTP

GET /api/manager/google-assistant/option/enabled

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

setOptionEnabled

(async) setOptionEnabled(opts): Promise.<any>

Scopes

SYSTEM

HTTP

PUT /api/manager/google-assistant/option/enabled

Parameters

Name Type Description
opts
object
value
boolean
}

Returns

Promise.<any>

sync

(async) sync(): Promise.<any>

Scopes

homey.system

HTTP

POST /api/manager/google-assistant/sync

Returns

Promise.<any>

unsetOptionEnabled

(async) unsetOptionEnabled(): Promise.<any>

Scopes

SYSTEM

HTTP

DELETE /api/manager/google-assistant/option/enabled

Returns

Promise.<any>