Methods
getAttributes
- getAttributes(): Promise<any>
getBinaryState
- getBinaryState(client: any): Promise<any>
-
Parameters
Returns Promise<any>
getBrightness
- getBrightness(): Promise<any>
getDeviceStatus
- getDeviceStatus(deviceId: String): Promise<any>
-
Parameters
Returns Promise<any>
getEndDevices
- getEndDevices(): Promise<any>
getInsightParams
- getInsightParams(): Promise<any>
setAttributes
- setAttributes(attributes: Object): Promise<any>
-
Parameters
Returns Promise<any>
setBrightness
- setBrightness(brightness: number): Promise<any>
-
Parameters
Returns Promise<any>
setDeviceStatus
- setDeviceStatus(deviceId: String, capability: String, value: String): Promise<any>
-
Parameters
-
deviceId: String
-
capability: String
-
value: String
Returns Promise<any>
setLightColor
- setLightColor(deviceId: String, red: String, green: String, blue: String): Promise<any>
-
Parameters
-
deviceId: String
-
red: String
-
green: String
-
blue: String
Returns Promise<any>