Skip to content

Tapo Rust v.0.7.17

Compare
Choose a tag to compare
@mihai-dinculescu mihai-dinculescu released this 23 Oct 20:49
· 25 commits to main since this release
db09765

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 to PowerStripPlugHandler to be consistent with the rest of the library.
  • PlugPowerStripResult has been renamed to PowerStripPlugResult to be consistent with the rest of the library.
  • The UsageByPeriodResult fields today, past7, and past30 have been updated to Option<u64> to handle cases where the API returns negative values, which will be represented as None.

Fixed

  • Updated all comments referencing Watts to confirm the correct units are specified.