v0.8.5
Rust
Added
ApiClient: addeddiscover_devicesmethod 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, andPowerStripPlugEnergyMonitoringResultto support energy-monitoring power strips (P304M, P316M). Non-monitoring models (P300, P306) will continue using the pre-existingPowerStripPlugHandler. PowerStripPlugResult: addeddefault_statesfield.
Changed
DeviceInfoPowerStripResult: changedtime_difffromOption<i64>toi64.
Fixed
PowerStripPlugResult: removedcharging_status,overcurrent_status, andpower_protection_status(not returned by P300/P306).
Python
Added
ApiClient: addeddiscover_devicesmethod 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, andPowerStripPlugEnergyMonitoringResultto support energy-monitoring power strips (P304M, P316M). Non-monitoring models (P300, P306) will continue using the pre-existingPowerStripPlugHandler. PowerStripPlugResult: addeddefault_statesfield.
Changed
DeviceInfoPowerStripResult: changedtime_difffromOptional[int]toint.
Fixed
PowerStripPlugResult: removedcharging_status,overcurrent_status, andpower_protection_status(not returned by P300/P306).
Full Changelog: v0.8.4...v0.8.5