Extends
- Homey.Driver
Methods
getOAuth2ConfigId
getOAuth2ConfigId(): *Returns
*
onInit
(async) onInit(): Promise.<void>Returns
Promise.<void>
onOAuth2Init
(async) onOAuth2Init(): Promise.<void>This method can be extended
Returns
Promise.<void>
onOAuth2Uninit
(async) onOAuth2Uninit(): Promise.<void>This method can be extended
Returns
Promise.<void>
onPair
onPair(socket)Parameters
Name | Type | Description |
---|---|---|
socket
|
PairSession |
onPairListDevices
(async) onPairListDevices(): Promise.<*>This method can be extended
Returns
Promise.<*>
onRepair
onRepair(socket, device)Parameters
Name | Type | Description |
---|---|---|
socket
|
PairSession | |
device
|
Homey.Device |
onUninit
(async) onUninit(): Promise.<void>Returns
Promise.<void>
setOAuth2ConfigId
setOAuth2ConfigId(id)Parameters
Name | Type | Description |
---|---|---|
id
|
string |