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 2 of 3

0.8.1

What's Changed

Bugfixes

* Add `last_id` while polling alerts to get real-time updates (https://github.com/palazzem/econnect-python/pull/125)

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

0.8.0

What's Changed

Client/API
* Add `query.ALERTS` to query the system via a unified API. You can now query any data just by using `query()` (https://github.com/palazzem/econnect-python/pull/118)
* Response for `query.ALERTS` queries is now the same as `INPUTS` and `SECTORS` (https://github.com/palazzem/econnect-python/pull/119)
* Delete unused `_filter_data` function (https://github.com/palazzem/econnect-python/pull/120)

Testing Improvements

* Coveralls reports the actual code coverage (https://github.com/palazzem/econnect-python/pull/123)

Breaking Changes

* `client. get_status()` is replaced by `client.query(q.ALERTS)`
* The response from `client.query(q.ALERTS)` is different from before, so you should update your code in case you use it:
python
Before
response = {'alarm_led': 0}

After
response = {0: {"name": "alarm_led", "status": False}}


New Contributors

We'd like to extend our gratitude to our new contributors that made their first contribution 🎉
- xtimmy86x

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

0.7.0

What's Changed

Client/API
* feat(client): implement `get_status()` to retrieve the main unit anomalies/alarms/tampering (https://github.com/palazzem/econnect-python/pull/116)


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

0.6.0

What's Changed

Client/API

* feat: IESS Metronet systems are now supported! You can check the [documentation](https://github.com/palazzem/econnect-python/blob/b93350028e57972fb6122ba5d47c2922ca8a2180/README.md#connecting-to-systems) to see how to query the right endpoint. (https://github.com/palazzem/econnect-python/pull/111)

Breaking Changes

* refactor!: remove `AlarmDevice` component. The device is now available in the [Home Assistant Integration](https://github.com/palazzem/ha-econnect-alarm). (https://github.com/palazzem/econnect-python/pull/113)


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

0.5.1

What's Changed

Client/API
* fix(client): sector/input name defaults to `Unknown` if the main unit is out of sync with the cloud (https://github.com/palazzem/econnect-python/pull/101)
* feat(client): add DEBUG logging to `ElmoClient` (https://github.com/palazzem/econnect-python/pull/99)

Breaking Changes
* feat!: drop support for EOL Python versions; the project currently support Python 3.8 -> 3.11 (https://github.com/palazzem/econnect-python/pull/94)

Dependencies and Packaging
* Updated development dependencies (https://github.com/palazzem/econnect-python/pull/70)
* refactor!: merge 'v0.4.0' release into 'main' (https://github.com/palazzem/econnect-python/pull/90)
* refactor!: migrate the whole project to `pyproject.toml` project definition (https://github.com/palazzem/econnect-python/pull/92)
* tools: use pre-commit hooks to run linters and static analyzers (https://github.com/palazzem/econnect-python/pull/93)
* package: ensure project name is `econnect-python`; `pytest` Python PATH is `src` (https://github.com/palazzem/econnect-python/pull/106)

Testing Improvements
* tests: encapsulate mock calls inside tests and provide a new client for integrations tests (https://github.com/palazzem/econnect-python/pull/96)
* refactor!: `AlarmDevice` uses integration test client to ensure `update()` compatibility with the new API (https://github.com/palazzem/econnect-python/pull/97)

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

0.5.0

Outdated Build

Regrettably, due to a misconfigured builder, we released a version of the package that did not import the project correctly. This issue has been addressed, and we have rolled out a new [0.5.1](https://github.com/palazzem/econnect-python/releases/tag/v0.5.1) version containing the same changes but with the correct build.

To prevent the distribution of this flawed version, we are removing this release from PyPi. If you're interested in understanding the adjustments made to rectify the issue, please refer to our builder change (107).

What's Changed

Client/API
* fix(client): sector/input name defaults to `Unknown` if the main unit is out of sync with the cloud (https://github.com/palazzem/econnect-python/pull/101)
* feat(client): add DEBUG logging to `ElmoClient` (https://github.com/palazzem/econnect-python/pull/99)

Breaking Changes
* feat!: drop support for EOL Python versions; the project currently support Python 3.8 -> 3.11 (https://github.com/palazzem/econnect-python/pull/94)

Dependencies and Packaging
* Updated development dependencies (https://github.com/palazzem/econnect-python/pull/70)
* refactor!: merge 'v0.4.0' release into 'main' (https://github.com/palazzem/econnect-python/pull/90)
* refactor!: migrate the whole project to `pyproject.toml` project definition (https://github.com/palazzem/econnect-python/pull/92)
* tools: use pre-commit hooks to run linters and static analyzers (https://github.com/palazzem/econnect-python/pull/93)
* package: ensure project name is `econnect-python`; `pytest` Python PATH is `src` (https://github.com/palazzem/econnect-python/pull/106)

Testing Improvements
* tests: encapsulate mock calls inside tests and provide a new client for integrations tests (https://github.com/palazzem/econnect-python/pull/96)
* refactor!: `AlarmDevice` uses integration test client to ensure `update()` compatibility with the new API (https://github.com/palazzem/econnect-python/pull/97)

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

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.