Tplink-cloud-api

Latest version: v4.1.5

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

Scan your dependencies

Page 3 of 6

2.8.1

**Library Updates**

Python requests library update to version 2.25.1 from 2.22.0

2.8.0

Refine get_schedule_rules. The previous iteration of the method method returned schedule rules in their raw form. This creates classes around the schedule and rules and adds testing for the functionality.

2.7.0

This change adds a new importable class, TPLinkDeviceManagerPowerTools, which builds upon the previous TPLinkDeviceManager adding functionality specifically pertaining to emeter devices. The main benefit of this toolset is that requests are handled to all matching devices asynchronously, so if you are wanting to gather power usage data across a large number of devices, it will occur very quickly. This is a convenience class and does not change the core functionality of the device manager.

2.6.1

**Bug Fixes**

* This release includes a Windows OS-specific HACK to silence an exception thrown on the asyncio event loop being closed as part of the asyncio library's proactor. The exception is technically harmless to the library's functionality, but it is a poor user experience to see exceptions with normal usage.

Hack sourced from an issue on the aiohttp library: aio-libs/aiohttp4324 (comment)

2.6.0

Adds the `has_emeter` function to all devices.

This function is intended to be an easy way to check if a device has emeter capabilities and therefore can get electricity data.

**Bug Fixes**
HS300 devices themselves as an entity do not have emeter functionality. It is their children (HS300Child - the individual plugs on the power strip) that have that functionality. This release includes a change to the inherited functions of the HS300 class so that they don't have emeter functions which would not work.

2.5.0

Add get_timezone functionality to get the timezone for a device.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.