Access this instance at HomeyAPIV3Local.updates
.
Extends
- HomeyAPIV3.ManagerUpdates
Instance Methods
abortInstallUpdate
(async) abortInstallUpdate(): Promise.<any>Scopes
-
HTTP
DELETE /api/manager/updates/update
Returns
Promise.<any>
getOptionAutoupdate
(async) getOptionAutoupdate(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/updates/option/autoupdate
Returns
Promise.<any>
getOptionChannel
(async) getOptionChannel(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/updates/option/channel
Returns
Promise.<any>
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/updates/state
Returns
Promise.<any>
getUpdates
(async) getUpdates(): Promise.<any>Scopes
homey.updates.readonly
HTTP
GET /api/manager/updates/update
Returns
Promise.<any>
installUpdate
(async) installUpdate(opts): Promise.<any>Scopes
homey.updates
HTTP
POST /api/manager/updates/update
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
reboot
|
boolean
<optional> |
|
silent
|
boolean
<optional> |
|
|
Returns
Promise.<any>
setOptionAutoupdate
(async) setOptionAutoupdate(opts): Promise.<any>Scopes
homey.system
HTTP
PUT /api/manager/updates/option/autoupdate
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
Promise.<any>
setOptionChannel
(async) setOptionChannel(opts): Promise.<any>Scopes
homey.system
HTTP
PUT /api/manager/updates/option/channel
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
Promise.<any>
unsetOptionAutoupdate
(async) unsetOptionAutoupdate(): Promise.<any>Scopes
homey.system
HTTP
DELETE /api/manager/updates/option/autoupdate
Returns
Promise.<any>
unsetOptionChannel
(async) unsetOptionChannel(): Promise.<any>Scopes
homey.system
HTTP
DELETE /api/manager/updates/option/channel
Returns
Promise.<any>