ManagerIcons

Extends

Classes

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>

getState

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

Scopes

homey.system.readonly

HTTP

get /api/manager/icons/state

Returns

Promise.<any>

isConnected

isConnected(): Boolean

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

Returns

Boolean

Events

icon.create

.on('icon.create')

Parameters

Name Type Description
icon
HomeyAPIV3Cloud.ManagerIcons.Icon

icon.delete

.on('icon.delete')

Parameters

Name Type Description
icon
HomeyAPIV3Cloud.ManagerIcons.Icon

icon.update

.on('icon.update')

Parameters

Name Type Description
icon
HomeyAPIV3Cloud.ManagerIcons.Icon