ManagerImages

Access this instance at HomeyAPIV3Cloud.images.

Extends

  • HomeyAPIV3.ManagerImages

Classes

Instance Methods

getImages

(async) getImages(): Promise.<Object.<string, HomeyAPIV3Cloud.ManagerImages.Image>>

Scopes

homey.device.readonly

HTTP

GET /api/manager/images/image

Returns

Promise.<Object.<string, HomeyAPIV3Cloud.ManagerImages.Image>>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/images/state

Returns

Promise.<any>

Events

image.create

.on('image.create')

Parameters

Name Type Description
image
HomeyAPIV3Cloud.ManagerImages.Image

image.delete

.on('image.delete')

Parameters

Name Type Description
image
HomeyAPIV3Cloud.ManagerImages.Image

image.update

.on('image.update')

Parameters

Name Type Description
image
HomeyAPIV3Cloud.ManagerImages.Image
info
object
newValues
object

An object with only the new values of the image

oldValues
object

An object with only the old values of the image

changedKeys
Array.<string>

An array of keys of the properties that have changed

}