Readonly
idReadonly
modelReadonly
nameReadonly
supportedReadonly
versionsRest
...args: Parameters<GoveeDeviceEvents[E]>Fade the device to a color
Promise that resolves when the fade is complete
Error if the input color is invalid
Error if the from color is invalid
Colord | color input
Number of steps to fade (min 3, max 100000000)
Duration of fade in milliseconds (min 100, max 100000000)
Colord | color input (optional)
Get the current state of the device. This is not guaranteed to be up to date. Use waitForFirstUpdate
to make sure the state is up to date
before using this. It also includes some extra information about the last update and last state change.
The current state of the device
Optional
event: ESet the color of the device, using Colord
Colord | color input
0-100 (optional)
This is called when the device sends an update. Should not be called by the user. It checks if the ip has changed and emits an event if it has
Device data
This is called when the device sends a status update. Should not be called by the user
Device status data
Generated using TypeDoc
Switch auto update of the state on/off