Releases: mihai-dinculescu/tapo
Releases · mihai-dinculescu/tapo
Tapo Python v0.7.0
Added
- Added support for the KE100 thermostatic radiator valve (TRV).
Tapo Rust v.0.7.17
Added
- Added support for the P304 power strip.
Changed
- The
openssl
dependency has been replaced with native Rust alternatives to expand cross-compilation options, such as for Android, and to decrease build times (thanks to @rbock44). PlugPowerStripHandler
has been renamed toPowerStripPlugHandler
to be consistent with the rest of the library.PlugPowerStripResult
has been renamed toPowerStripPlugResult
to be consistent with the rest of the library.- The
UsageByPeriodResult
fieldstoday
,past7
, andpast30
have been updated toOption<u64>
to handle cases where the API returns negative values, which will be represented asNone
.
Fixed
- Updated all comments referencing Watts to confirm the correct units are specified.
Tapo Python v0.6.0
Added
- Added support for the P300 and P304 power strips.
- Python logs can now capture entries from the underlying Rust library.
Changed
- The
openssl
dependency has been replaced with native Rust alternatives to expand cross-compilation options, such as for Android, and to decrease build times (thanks to @rbock44). - The
UsageByPeriodResult
fieldstoday
,past7
, andpast30
have been updated toOptional[int]
to handle cases where the API returns negative values, which will be represented asnull
.
Fixed
- Updated all comments referencing Watts to confirm the correct units are specified.
Tapo Rust v.0.7.16
Added
- Added support for the L535 light bulbs.
Fixed
- Fixed an issue that prevented the color from being set properly for the L535 light bulbs.
Tapo Python v0.5.1
Added
- Added support for the L535 light bulbs.
Fixed
- Fixed an issue that prevented the color from being set properly for the L535 light bulbs.
Tapo Rust v.0.7.15
Added
- The
LowBattery
variant has been added to theS200BLog
enum.
Changed
- The
t310
andt315
methods ofHubHandler
can now createT31XHandler
handlers for either of the two device types. - The child device handlers for the H100 hub and the P300 power strip have been redesigned to eliminate the use of lifetimes, to facilitate FFI integrations.
- The comments of
start_timestamp
andend_timestamp
fields inEnergyDataResult
have been updated to better describe their purpose. S200BRotationParams
's fielddegrees
has been renamed torotation_degrees
.
Fixed
- Fixed an issue with the
Color
presets that triggered a validation error when attempting to set thecolor
toDarkRed
.
Removed
- The deprecated
past24h
,past7d
,past30d
andpast1y
fields have been removed fromEnergyUsageResult
. This data is now available exclusively throughget_energy_data
'sEnergyDataResult
response.
Tapo Python v0.5.0
Added
- Added full support for the S200B switches through the
S200BHandler
handler. - Added full support for the T100 sensors through the
T100Handler
handler. - Added full support for the T110 sensors through the
T110Handler
handler. - Added full support for the T300 sensors through the
T300Handler
handler. - Added full support for the T310 and T315 sensors though the
T31XHandler
handler.
Changed
- The comments of
start_timestamp
andend_timestamp
fields inEnergyDataResult
have been updated to better describe their purpose.
Fixed
- Fixed an issue with the
Color
presets that triggered a validation error when attempting to set thecolor
toDarkRed
.
Tapo Rust v.0.7.14
Changed
DeviceInfoPlugEnergyMonitoringResult
has been added to support the P110 and P115 devices, which have different responses compared to the P100 and P105 devices.
Fixed
DeviceInfoPlugResult
has been updated to correctly support the P100 and P105 devices.
Tapo Python v0.4.0
Changed
DeviceInfoPlugEnergyMonitoringResult
has been added to support the P110 and P115 devices, which have different responses compared to the P100 and P105 devices.
Fixed
- Resolved an issue that led to unrecoverable process hangs when a device request timed out.
- The concurrency of device handlers has been significantly enhanced by replacing all
Mutex
instances withRwLock
. DeviceInfoPlugResult
has been updated to correctly support the P100 and P105 devices.
Tapo Rust v.0.7.13
Changed
- To align with the latest API updates, the
overheated
field for plugs has been replaced by three enums:overcurrent_status
,overheat_status
, andpower_protection_status
(thanks to @padenot).