Properties
lastChanged
lastChanged: Date|nullType
- Date | null
value
value: boolean|number|string|nullType
- boolean | number | string | null
Methods
destroy
destroy()Destroy the listener, and if it's the last one, unsubscribe from the device's realtime events.
setValue
(async) setValue(value, opts)Parameters
Name | Type | Description |
---|---|---|
value
|
boolean | number | string | The new capability value |
opts
|
object |