Constructor
Optional
params: ParamsOptional parameters
Discovers Switchbot devices.
The discovery parameters.
A Promise that resolves with an array of discovered Switchbot devices.
Starts scanning for SwitchBot devices.
Optional
params: Params = {}Optional parameters.
Validates the parameters.
The parameters to validate.
The schema to validate against.
SwitchBotBLE class to interact with SwitchBot devices.