Cowayaio

Latest version: v0.1.12

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

Scan your dependencies

0.1.12

Breaking Changes
* `value` arg in `async_change_prefilter_setting` now needs to be of type `int` instead of a `string` (due to changes in Coway's API)

Other Changes
* Fixed authentication to use new redirect_url as the old one has been deprecated by Coway
* `async_control_purifier` and `async_change_prefilter_setting` now use new API endpoints/different data is sent due to Coway deprecating the endpoints that were previously used
* `CowayError` exception is now raised if a control command or prefilter frequency change command fails


**Full Changelog**: https://github.com/RobertD502/cowayaio/compare/0.1.11...0.1.12

0.1.11

Changes
* Keep track of token expiry time in `self.token_expiration`. New token is fetched prior to expiry using the refresh token instead of relying on new login to get new set of tokens.
* Responses for commands executed on a purifier are now logged as a debug message.
* Renamed class `Endpoint_JSON` to `EndpointJSON`.


**Full Changelog**: https://github.com/RobertD502/cowayaio/compare/0.1.10...0.1.11

0.1.10

Fixes
* use new api endpoints for fetching data by RobertD502 in https://github.com/RobertD502/cowayaio/pull/9 - Fixes errors caused by Coway deprecating older API endpoints.

Other Changes
* Improved error handling



**Full Changelog**: https://github.com/RobertD502/cowayaio/compare/0.1.9...0.1.10

0.1.9

New Features

- Use new API endpoint for quality status: Fixes newer devices unable to use the old API endpoint.
- Added `async_set_rapid_mode` and `async_set_light_mode` methods: Used to set the 250S to the Rapid preset mode and change the light mode between On, Off, and AQI OFF.


What's Changed
* Use new API endpoint for quality status, add rapid mode and light mode for 250s by RobertD502 in https://github.com/RobertD502/cowayaio/pull/7


**Full Changelog**: https://github.com/RobertD502/cowayaio/compare/0.1.8...0.1.9

0.1.8

New Features

- Added attributes to Purifier model representing pre-filter wash frequency and smart mode sensitivity settings.
- Added `async_set_smart_mode_sensitivity` and `async_change_prefilter_setting` methods.

Changelog
* Add pre-filter wash frequency and smart mode sensitivity by RobertD502 in https://github.com/RobertD502/cowayaio/pull/6


**Full Changelog**: https://github.com/RobertD502/cowayaio/compare/0.1.7...0.1.8

0.1.7

Changes
- Improved KeyError exception handling when Coway servers fail to return data

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.