Pymagicswitchbot

Latest version: v1.1.4

Safety actively analyzes 688619 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.0.7

Imports errors fixing

1.0.6

Code and error catching optimizations

1.0.5

Optimized connection status and retries

1.0.4

**Changelog**:
* Improved connection experience.
You can now specify a custom timeout when you connect to the device. By default, the timeout is 3 seconds.

**Breaking change**:
* The `connect` method has now 2 optional parameters:
* `connect_timeout`: int (Optional)
Specifies the amount of time (in seconds) we'll be waiting for the bluetooth device to connect. If it doesn't connect on time, it returns False.
This parameter is optional. If you don't specify a value, a 3 seconds timeout is assumed.
* `disconnect_timeout` : int (Optional)
Specifies the amount of time (in seconds) that will be scheduled to automatically disconnect from the device. If it's not specified, the client does not disconnect until the object is disposed from memory.
This parameter is optional. If you don't specify a value, a -1 is assumed (no automatic disconnect).

If you used this method with 1 parameter before, take into account that now the first parameter is connect_timeout.

1.0.3

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.