SwitchBotBLE class to interact with SwitchBot devices.
Constructor
Optional
Optional parameters
Discovers Switchbot devices.
The discovery parameters.
A Promise that resolves with an array of discovered Switchbot devices.
Emits a log event with the specified log level and message.
The severity level of the log (e.g., 'info', 'warn', 'error').
The log message to be emitted.
Starts scanning for SwitchBot devices.
Optional parameters.
Stops scanning for SwitchBot devices.
Validates the parameters.
The parameters to validate.
The schema to validate against.
Waits for the specified time.
The time to wait in milliseconds.
SwitchBotBLE class to interact with SwitchBot devices.