Access this instance at HomeyAPIV3Local.cloud.
Extends
- HomeyAPIV3.ManagerCloud
Classes
Instance Methods
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/cloud/state
Returns
Promise.<any>
Events
webhook.create
.on('webhook.create')Parameters
| Name | Type | Description |
|---|---|---|
webhook
|
HomeyAPIV3Local.ManagerCloud.Webhook |
webhook.delete
.on('webhook.delete')Parameters
| Name | Type | Description |
|---|---|---|
webhook
|
HomeyAPIV3Local.ManagerCloud.Webhook |
webhook.update
.on('webhook.update')Parameters
| Name | Type | Description |
|---|---|---|
webhook
|
HomeyAPIV3Local.ManagerCloud.Webhook | |
info
|
object | |
newValues
|
object | An object with only the new values of the webhook |
oldValues
|
object | An object with only the old values of the webhook |
changedKeys
|
Array.<string> | An array of keys of the properties that have changed |
|
|