Skip to content

v0.8.5

Choose a tag to compare

@mihai-dinculescu mihai-dinculescu released this 18 Sep 19:42
· 278 commits to main since this release
27a6673

Rust

Added

  • ApiClient: added discover_devices method to discover all Tapo devices on the local network. This works even with dynamic or unknown IPs, but is slower since it scans the entire network and waits for device responses.
  • PowerStripPlugHandler: added support for P306 power strips.
  • Added PowerStripEnergyMonitoringHandler, PowerStripPlugEnergyMonitoringHandler, and PowerStripPlugEnergyMonitoringResult to support energy-monitoring power strips (P304M, P316M). Non-monitoring models (P300, P306) will continue using the pre-existing PowerStripPlugHandler.
  • PowerStripPlugResult: added default_states field.

Changed

  • DeviceInfoPowerStripResult: changed time_diff from Option<i64> to i64.

Fixed

  • PowerStripPlugResult: removed charging_status, overcurrent_status, and power_protection_status (not returned by P300/P306).

Python

Added

  • ApiClient: added discover_devices method to discover all Tapo devices on the local network. This works even with dynamic or unknown IPs, but is slower since it scans the entire network and waits for device responses.
  • PowerStripPlugHandler: added support for P306 power strips.
  • Added PowerStripEnergyMonitoringHandler, PowerStripPlugEnergyMonitoringHandler, and PowerStripPlugEnergyMonitoringResult to support energy-monitoring power strips (P304M, P316M). Non-monitoring models (P300, P306) will continue using the pre-existing PowerStripPlugHandler.
  • PowerStripPlugResult: added default_states field.

Changed

  • DeviceInfoPowerStripResult: changed time_diff from Optional[int] to int.

Fixed

  • PowerStripPlugResult: removed charging_status, overcurrent_status, and power_protection_status (not returned by P300/P306).

Full Changelog: v0.8.4...v0.8.5