Econnect-python

Latest version: v0.12.0

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

Scan your dependencies

Page 1 of 3

0.12.0

What's Changed

Features
* Main unit disconnections are detected and `DeviceDisconnectedError` exception is raised (https://github.com/palazzem/econnect-python/pull/147, https://github.com/palazzem/econnect-python/pull/148)
* Add support for Python 3.12 (https://github.com/palazzem/econnect-python/pull/150)

Read the [full changeset](https://github.com/palazzem/econnect-python/compare/v0.11.0...v0.12.0) and the [release milestone](https://github.com/palazzem/econnect-python/milestone/17?closed=1).

0.11.0

What's Changed

Features
* Add `client.query(q.PANEL)` API to retrieve panel details (https://github.com/palazzem/econnect-python/pull/140)
* `lock()` accepts an optional `userId` to support models that require both the `userId` and the `code` (https://github.com/palazzem/econnect-python/pull/142)

Bugfixes
* Added debug logs for arm/disarm/lock/unlock actions to simplify the triaging (https://github.com/palazzem/econnect-python/pull/144)

Read the [full changeset](https://github.com/palazzem/econnect-python/compare/v0.10.0...v0.11.0) and the [release milestone](https://github.com/palazzem/econnect-python/milestone/16?closed=1).

0.10.0

What's Changed

Bugfixes

* (https://github.com/palazzem/econnect-python/pull/137): `InvalidSector` and `InvalidInput` exceptions are replaced by `CommandError`. This exception is raised when the client fails to arm/disarm the system, or make any time of change. When the system fails, the client logs an error including the response from the API. This solves the issue of assuming what type of error it was.

Testing / Development
* (https://github.com/palazzem/econnect-python/pull/136): `pre-commit` hooks are updated to their latest versions

Read the [full changeset](https://github.com/palazzem/econnect-python/compare/v0.9.2...v0.10.0) and the [release milestone](https://github.com/palazzem/econnect-python/milestone/15?closed=1).

0.9.2

What's Changed

Bugfixes
* Raise `InvalidToken` if the token expires while using the `lock()` method (https://github.com/palazzem/econnect-python/pull/134)

Read the [full changeset](https://github.com/palazzem/econnect-python/compare/v0.9.1...v0.9.2) and the [release milestone](https://github.com/palazzem/econnect-python/milestone/14?closed=1).

0.9.1

What's Changed

Bugfixes
* Prevent a `KeyError` when inputs, outputs and/or sectors strings are not synchronized with the cloud (https://github.com/palazzem/econnect-python/pull/132)

Read the [full changeset](https://github.com/palazzem/econnect-python/compare/v0.9.0...v0.9.1) and the [release milestone](https://github.com/palazzem/econnect-python/milestone/13?closed=1).

0.9.0

What's Changed

Features
* Add `query.OUTPUTS` to collect outputs status (https://github.com/palazzem/econnect-python/pull/127)
* Add client API to activate or deactivate a given output (https://github.com/palazzem/econnect-python/pull/129)
* Parse additional API fields when `q.OUTPUTS` query is done. This change removes unused keys from `q.SECTORS` query (https://github.com/palazzem/econnect-python/pull/130)

Bugfixes
* Arm and disarm multiple sectors with a single request instead of making one request per sector (https://github.com/palazzem/econnect-python/pull/128)

Read the [full changeset](https://github.com/palazzem/econnect-python/compare/v0.8.1...v0.9.0) and the [release milestone](https://github.com/palazzem/econnect-python/milestone/12?closed=1).

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.