Pywemo

Latest version: v1.4.0

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

Scan your dependencies

Page 2 of 5

1.0.0

Verify with [`sigstore-python`](https://github.com/sigstore/sigstore-python/):

bash
Download the release wheel and .sigstore file.
wget https://github.com/pywemo/pywemo/releases/download/1.0.0/pywemo-1.0.0-py3-none-any.whl
wget https://github.com/pywemo/pywemo/releases/download/1.0.0/pywemo-1.0.0-py3-none-any.whl.sigstore

Install sigstore: https://github.com/sigstore/sigstore-python#installation
python -m pip install sigstore

Verify that the wheel was built from this release.
python -m sigstore verify github \
--bundle pywemo-1.0.0-py3-none-any.whl.sigstore \
--cert-identity https://github.com/pywemo/pywemo/.github/workflows/publish.ymlrefs/tags/1.0.0 \
--sha dc9786c33b0dd1ee0ecd5c3b1803efb797dfd3b8 \
pywemo-1.0.0-py3-none-any.whl


</details>

<details id="SLSA"><summary>How to verify <code>SLSA</code> provenance</summary>
<a href="https://slsa.dev/">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/slsa-framework/slsa/93cff4f95c07b095342ac256667594df038ad8d4/resources/assets/logo/horizontal/SVG/SLSA-logo-horizontal-white.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/slsa-framework/slsa/93cff4f95c07b095342ac256667594df038ad8d4/resources/assets/logo/horizontal/SVG/SLSA-logo-horizontal-original.svg">
<img alt="SLSA" src="https://raw.githubusercontent.com/slsa-framework/slsa/93cff4f95c07b095342ac256667594df038ad8d4/resources/assets/logo/horizontal/SVG/SLSA-logo-horizontal-original.svg" width="150">
</picture>
</a>

Visit [slsa.dev](https://slsa.dev/) to learn more about generating and verifying software provenance with SLSA.

SLSA verifier installation instructions can be found at [github.com/slsa-framework/slsa-verifierinstallation](https://github.com/slsa-framework/slsa-verifier#installation).

bash
Download the release wheel and .intoto.jsonl file.
wget https://github.com/pywemo/pywemo/releases/download/1.0.0/pywemo-1.0.0-py3-none-any.whl
wget https://github.com/pywemo/pywemo/releases/download/1.0.0/pywemo-1.0.0.intoto.jsonl

Verify that the wheel was built from this release.
slsa-verifier verify-artifact \
--provenance-path pywemo-1.0.0.intoto.jsonl \
--source-uri github.com/pywemo/pywemo \
--source-tag 1.0.0 \
pywemo-1.0.0-py3-none-any.whl


</details>

0.9.2

Verify with [`sigstore-python`](https://github.com/sigstore/sigstore-python/):

bash
Download the release wheel and .sigstore file.
wget https://github.com/pywemo/pywemo/releases/download/0.9.2/pywemo-0.9.2-py3-none-any.whl
wget https://github.com/pywemo/pywemo/releases/download/0.9.2/pywemo-0.9.2-py3-none-any.whl.sigstore

Install sigstore: https://github.com/sigstore/sigstore-python#installation
python -m pip install sigstore

Verify that the wheel was built from this release.
python -m sigstore verify github \
--bundle pywemo-0.9.2-py3-none-any.whl.sigstore \
--cert-identity https://github.com/pywemo/pywemo/.github/workflows/publish.ymlrefs/tags/0.9.2 \
--sha aba1b738c2ca603e5c0a98bde23e26a802421da9 \
pywemo-0.9.2-py3-none-any.whl


</details>

0.9.1

What's Changed
* [Bug] _attributes needs to be created per-instance. by esev in https://github.com/pywemo/pywemo/pull/349


**Full Changelog**: https://github.com/pywemo/pywemo/compare/0.9.0...0.9.1

0.9.0

What's Changed
* Add configuration to enable callbacks in containers. by pumbaasdad in https://github.com/pywemo/pywemo/pull/348

New Contributors
* pumbaasdad made their first contribution in https://github.com/pywemo/pywemo/pull/348

**Full Changelog**: https://github.com/pywemo/pywemo/compare/0.8.1...0.9.0

0.8.1

What's Changed
* V2 Dimmers do not send brightness events by esev in https://github.com/pywemo/pywemo/pull/347


**Full Changelog**: https://github.com/pywemo/pywemo/compare/0.8.0...0.8.1

0.8.0

What's Changed

New features

* Parsers for SignalStrength, MetaInfo & ExtMetaInfo were added to util.py in https://github.com/pywemo/pywemo/pull/313
* pyWeMo now supports mypy type checks and PEP 561 (https://github.com/pywemo/pywemo/issues/315)
* CrockPot current state is fetched on Init esev in https://github.com/pywemo/pywemo/pull/334

Bug fixes

* The dependency on `six` has been removed. https://github.com/pywemo/pywemo/issues/344
* Insight is not subscribed when off by esev in https://github.com/pywemo/pywemo/pull/341

Deprecation warning

A future 1.0.0 release of pyWeMo will deprecate a number of items within pyWeMo:

1. The `mac` argument will be removed from
- pywemo.discovery.device_from_description
- The Device class constructor as well as the constructor for all subclasses.
2. The pywemo.ssdp.SSDP class will be removed
3. The `created`, `expires`, `is_expired` & `description` properties will be removed from ssdp.UPNPEntry as will the `match_device_description` method.
4. pywemo.util.etree_to_dict will be removed.
5. The Device.serialnumber property will be removed. Use `serial_number` instead.
6. Non-integer values will no longer be supported for Dimmer.set_brightness.
7. Insight.today_standby_time & Insight.get_standby_state properties will be removed. get_standby_state is being replaced with standby_state.
8. Maker.maker_params will be removed. Use the individual properties (switch_state, sensor_state, switch_mode & has_sensor) instead.
9. Maker.update_maker_params will be removed. Switch to using Maker.update_attributes instead.

Full list of changes

* Rename DimmerV1 to DimmerLongPress by esev in https://github.com/pywemo/pywemo/pull/309
* Replace the get_standby_state property with standby_state by esev in https://github.com/pywemo/pywemo/pull/310
* Upgrade pylint/mypy to support PEP 604 by esev in https://github.com/pywemo/pywemo/pull/311
* Remove LongPressMixin from LightSwitch by esev in https://github.com/pywemo/pywemo/pull/318
* Validate device returned xml documents in one place by esev in https://github.com/pywemo/pywemo/pull/312
* Add parsers for SignalStrength/MetaInfo/ExtMetaInfo by esev in https://github.com/pywemo/pywemo/pull/313
* Add type annotations to exceptions/color/util/discovery/ssdp.py by esev in https://github.com/pywemo/pywemo/pull/316
* Add type annotations for service.py by esev in https://github.com/pywemo/pywemo/pull/319
* Disable type checks for long_press.py by esev in https://github.com/pywemo/pywemo/pull/324
* Add type annotations for pywemo/subscribe.py by esev in https://github.com/pywemo/pywemo/pull/322
* Add type stubs for all known wemo services by esev in https://github.com/pywemo/pywemo/pull/320
* Type annotations for commonly overridden Device methods by esev in https://github.com/pywemo/pywemo/pull/321
* Humidifier integration tests by esev in https://github.com/pywemo/pywemo/pull/329
* Provide a default value for some enums by esev in https://github.com/pywemo/pywemo/pull/325
* Fetch current state in CrockPot.__init__ by esev in https://github.com/pywemo/pywemo/pull/334
* Improve bridge tests by esev in https://github.com/pywemo/pywemo/pull/336
* Add deprecation warnings on unused code by esev in https://github.com/pywemo/pywemo/pull/331
* mypy fully passes for pywemo/ouimeaux_device/__init__.py by esev in https://github.com/pywemo/pywemo/pull/326
* mypy fully supported for Switch class by esev in https://github.com/pywemo/pywemo/pull/327
* mypy fully supported for Dimmer class by esev in https://github.com/pywemo/pywemo/pull/328
* Full mypy support for Insight class by esev in https://github.com/pywemo/pywemo/pull/333
* CoffeeMaker/Humidifier/Maker have common base class by esev in https://github.com/pywemo/pywemo/pull/330
* Full mypy support for CrockPot class by esev in https://github.com/pywemo/pywemo/pull/332
* Type annotations for the bridge devices by esev in https://github.com/pywemo/pywemo/pull/337
* Fix UPNPEntry.expires return type by esev in https://github.com/pywemo/pywemo/pull/338
* Enable mypy checks in pyWeMo by esev in https://github.com/pywemo/pywemo/pull/339
* Distribute type information with PEP 561 by esev in https://github.com/pywemo/pywemo/pull/340
* Insight is not subscribed when off by esev in https://github.com/pywemo/pywemo/pull/341
* Maintain subscription SID through request exceptions by esev in https://github.com/pywemo/pywemo/pull/342
* Update insight_params when the state is changed by esev in https://github.com/pywemo/pywemo/pull/343
* Include common classes in pywemo top-level module by esev in https://github.com/pywemo/pywemo/pull/345
* Remove six dependency from generateDS files by esev in https://github.com/pywemo/pywemo/pull/346


**Full Changelog**: https://github.com/pywemo/pywemo/compare/0.7.0...0.8.0

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.