Pymee

Latest version: v2.2.0

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

Scan your dependencies

Page 2 of 6

2.0.1

Fix

* fix: permissions for release workflow ([`b063c91`](https://github.com/FreshlyBrewedCode/pymee/commit/b063c9125bb3825b696f09b93db53cc3b167a8a5))

* fix: release workflow 2nd try ([`598e592`](https://github.com/FreshlyBrewedCode/pymee/commit/598e592e2fa2e8224571424b7ada7bdd63680d9a))

* fix: release workflow ([`1d77638`](https://github.com/FreshlyBrewedCode/pymee/commit/1d77638587c72420da5187668a9be13486c7dee6))

Unknown

* Merge pull request 20 from Taraman17/master

fix: permissions for release workflow ([`99a38d2`](https://github.com/FreshlyBrewedCode/pymee/commit/99a38d2da4bfe376e22dc9fad25ffd11f1880656))

* Merge pull request 19 from Taraman17/master

fix: release workflow 2nd try ([`1b2a98e`](https://github.com/FreshlyBrewedCode/pymee/commit/1b2a98eff9f8e026a2c582e236740f05d022c8af))

* Merge pull request 18 from Taraman17/master

fix: release workflow ([`7fe5760`](https://github.com/FreshlyBrewedCode/pymee/commit/7fe5760ef5af962d1ea2c675232bf3f4d5e22797))

2.0.0

Breaking

* fix: Finalise release.

BREAKING CHANGE: Using IntEnum for constants.

Addressing members changed.
Corrected Names of following NodeProtocol entries:
- WMBUS -> WM_BUS
- HTTPAVM -> HTTP_AVM
- HTTPNETATMO -> HTTP_NETATMO
- HTTPKOUBACHI -> HTTP_KOUBACHI
- HTTPNEST -> HTTP_NEST
- IOCUBE -> IO_CUBE
- HTTPCCU2 -> HTTP_CCU_2
- HTTPUPN_P -> HTTP_UPN_P
- HTTPNUKI -> HTTP_NUKI
- HTTPSEMS -> HTTP_SEMS
- SIGMA_ZWAVE -> ZWAVE_V3
- HTTPWOLF -> HTTP_WOLF
- HTTPMY_STROM -> HTTP_MY_STROM

Refactored code to make it python-standard-conforming:

Homee attributes, that changed names:
- pingInterval -> ping_interval
- reconnectInterval -> reconnect_interval
- maxRetries -> max_retries
- shouldReconnect -> should_reconnect
- deviceId -> device_id
- shouldClose -> should_close

Some methods are now public - the old private versions log deprecation warnings.

Raw data of Homee Classes is now accessible through the .raw_data public attribute i.s.o .raw_data
To update the raw data, the method .set_data(data) is used. ([`e2e1848`](https://github.com/FreshlyBrewedCode/pymee/commit/e2e18484c992848390069129581272b29caf3a3e))

Ci

* ci: update release workflow to latest versions ([`785749f`](https://github.com/FreshlyBrewedCode/pymee/commit/785749fff9db004f3f6cca6253fb775ef81bb34a))

Unknown

* Merge pull request 17 from Taraman17/master

refactor: Change const classes to IntEnum, refactor code.

BREAKING CHANGE: Using IntEnum for constants.

Addressing members changed.
Corrected Names of following NodeProtocol entries:

WMBUS -> WM_BUS
HTTPAVM -> HTTP_AVM
HTTPNETATMO -> HTTP_NETATMO
HTTPKOUBACHI -> HTTP_KOUBACHI
HTTPNEST -> HTTP_NEST
IOCUBE -> IO_CUBE
HTTPCCU2 -> HTTP_CCU_2
HTTPUPN_P -> HTTP_UPN_P
HTTPNUKI -> HTTP_NUKI
HTTPSEMS -> HTTP_SEMS
SIGMA_ZWAVE -> ZWAVE_V3
HTTPWOLF -> HTTP_WOLF
HTTPMY_STROM -> HTTP_MY_STROM

Refactored code to make it python-standard-conforming:

Homee attributes, that changed names:

pingInterval -> ping_interval
reconnectInterval -> reconnect_interval
maxRetries -> max_retries
shouldReconnect -> should_reconnect
deviceId -> device_id
shouldClose -> should_close

Some methods are now public - the old private versions log deprecation warnings.

Raw data of Homee Classes is now accessible through the .raw_data public attribute i.s.o .raw_data
To update the raw data, the method .set_data(data) is used. ([`8a27aa0`](https://github.com/FreshlyBrewedCode/pymee/commit/8a27aa08e342ddec1ee99aa3fab6aa2e2e92087c))

* tackle linter warnings part 3 - exceptions ([`2aa0e07`](https://github.com/FreshlyBrewedCode/pymee/commit/2aa0e07dd3a9a4f4f0a6354811dbc2ffb9154346))

* fix bug in update_attribute ([`04202d7`](https://github.com/FreshlyBrewedCode/pymee/commit/04202d7e3b55f4f1f0822d9b373839573dbe134f))

* tackle linter warnings part 2 ([`dafaf2d`](https://github.com/FreshlyBrewedCode/pymee/commit/dafaf2d9645ea26b3621e8c76f35805d172bf666))

* tackle linter warnings part 1 ([`413ac86`](https://github.com/FreshlyBrewedCode/pymee/commit/413ac86cce1c4fc58c2c263fb3f117b978fb1ee4))

* Use IntEnum for const classes ([`895aa8c`](https://github.com/FreshlyBrewedCode/pymee/commit/895aa8cc7956d45db6e16c703bdc29f17a00cd92))

* fix errors and add new constants from API ([`b55bc5f`](https://github.com/FreshlyBrewedCode/pymee/commit/b55bc5f2f4317c95136f52994746aab59a5d2e70))

* Add logging of unsupported messages

This logs messages that are not understood by pymee, so we can see these and add support easier. ([`e519233`](https://github.com/FreshlyBrewedCode/pymee/commit/e519233e379e210926526ff8bfc99df52f75cdbb))

1.11.2

Fix

* fix: Catch OS Level connection error (14)

* Remove expicit ping

Removing the ping-handler function and it&39;s call, since websockets sends pings automatically and the function was causing async_io errors.

* Refine error handling and logging

Narrrow websocket exception hadnling to &34;ConnectionClosedError&34; from &34;ConnectionClosed&34; where feasible.
some logging changes

* expose attribute_map

Expose _attribute_map as public property, since it is used in hass-homee

* Tackle deprecations and lint warnings

- Replace typing.List with list
- remove unnecessary else:s
- use Callable from collections.abc

* refine logging

- log disconnect and reconnect once as per https://developers.home-assistant.io/docs/integration_quality_scale_index/
- use %s instead of f-strings in Log-statements as per HA style guide: https://developers.home-assistant.io/docs/development_guidelines/#use-new-style-string-formatting

* fix typo

* fix some nits

- make sure disconnect warning is only logged once.
- move logging of reconnect attempts to proper location.

* Deal with attributes without options

If trying to access options if the attribute has none leads to an error.
This fixes it.

* Now really deal with empty options

First attempt had a wrong idea.

* Add catch for OS ConnectionError

If a connection error throws at OS Level (e.g. 113 - No route to host), it was not caught. ([`06a15e4`](https://github.com/FreshlyBrewedCode/pymee/commit/06a15e465f42e82c58f9b02bf4b665f6bb09d6d9))

1.11.1

Fix

* fix: Fix error when HomeeAttribute has no options (13)

* Remove expicit ping

Removing the ping-handler function and it&39;s call, since websockets sends pings automatically and the function was causing async_io errors.

* Refine error handling and logging

Narrrow websocket exception hadnling to &34;ConnectionClosedError&34; from &34;ConnectionClosed&34; where feasible.
some logging changes

* expose attribute_map

Expose _attribute_map as public property, since it is used in hass-homee

* Tackle deprecations and lint warnings

- Replace typing.List with list
- remove unnecessary else:s
- use Callable from collections.abc

* refine logging

- log disconnect and reconnect once as per https://developers.home-assistant.io/docs/integration_quality_scale_index/
- use %s instead of f-strings in Log-statements as per HA style guide: https://developers.home-assistant.io/docs/development_guidelines/#use-new-style-string-formatting

* fix typo

* fix some nits

- make sure disconnect warning is only logged once.
- move logging of reconnect attempts to proper location.

* Deal with attributes without options

If trying to access options if the attribute has none leads to an error.
This fixes it.

* Now really deal with empty options

First attempt had a wrong idea. ([`cbb67ae`](https://github.com/FreshlyBrewedCode/pymee/commit/cbb67ae6f6a3f05129a73708a109434078243571))

1.11.0

Feature

* feat: Fix automatic reconnection (12)

* Remove expicit ping

Removing the ping-handler function and it&39;s call, since websockets sends pings automatically and the function was causing async_io errors.

* Refine error handling and logging

Narrrow websocket exception hadnling to &34;ConnectionClosedError&34; from &34;ConnectionClosed&34; where feasible.
some logging changes

* expose attribute_map

Expose _attribute_map as public property, since it is used in hass-homee

* Tackle deprecations and lint warnings

- Replace typing.List with list
- remove unnecessary else:s
- use Callable from collections.abc

* refine logging

- log disconnect and reconnect once as per https://developers.home-assistant.io/docs/integration_quality_scale_index/
- use %s instead of f-strings in Log-statements as per HA style guide: https://developers.home-assistant.io/docs/development_guidelines/#use-new-style-string-formatting

* fix typo

* fix some nits

- make sure disconnect warning is only logged once.
- move logging of reconnect attempts to proper location. ([`2db8f2f`](https://github.com/FreshlyBrewedCode/pymee/commit/2db8f2ff240814bdf2fc7295ffa9bded87b66e5d))

1.10.3

Fix

* fix: &39;list&39; object is not an iterator & spaces in homee name (11)

* add function to get an update for an attribute

* Change get_attribute to update_attribute and add update_node

* Fix invalid state error

* Add manual update functions to readme

* fix list object is not an iterator

* unquote homee_name

closes 7 ([`1a8dcc1`](https://github.com/FreshlyBrewedCode/pymee/commit/1a8dcc16f6dc7b52ce6e3593fb05e65dd02b7993))

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.