ManagerI18n

Access this instance at HomeyAPIV3Local.i18n.

Extends

  • HomeyAPIV3.ManagerI18n

Instance Methods

getOptionLanguage

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/i18n/option/language

Returns

Promise.<any>

getOptionUnits

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/i18n/option/units

Returns

Promise.<any>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/i18n/state

Returns

Promise.<any>

setOptionLanguage

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

Scopes

homey.system

HTTP

PUT /api/manager/i18n/option/language

Parameters

Name Type Description
opts
object
value
*
}

Returns

Promise.<any>

setOptionUnits

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

Scopes

homey.system

HTTP

PUT /api/manager/i18n/option/units

Parameters

Name Type Description
opts
object
value
*
}

Returns

Promise.<any>

unsetOptionLanguage

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

Scopes

homey.system

HTTP

DELETE /api/manager/i18n/option/language

Returns

Promise.<any>

unsetOptionUnits

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

Scopes

homey.system

HTTP

DELETE /api/manager/i18n/option/units

Returns

Promise.<any>