Skip to content

Releases: mihai-dinculescu/tapo

Tapo Python v0.3.2

26 Aug 10:47
e2da22f
Compare
Choose a tag to compare

Changed

  • To align with the latest API updates, the overheated field for plugs has been replaced by three enums: overcurrent_status, overheat_status, and power_protection_status.

Tapo Rust v.0.7.12

27 Jun 22:00
878d5a6
Compare
Choose a tag to compare

Changed

  • H100's create child device handler methods now take a HubDevice enum instead of a String and are now async to allow for more flexibility. This enables the caller to find child devices by either device ID or nickname.
  • PlugIdentifier has been renamed to Plug.
  • Plug::ByDeviceId now verifies that the provided device ID is found and returns an Error::DeviceNotFound error when it's not.
  • HubDevice variants now take a String instead of a &str to allow for more flexibility.
  • Plug variants now take a String instead of a &str to allow for more flexibility.

Fixed

  • ColorLightSetDeviceInfoParams hue field validation has been changed from between 1 and 360 to between 0 and 360 to match the device's expected range.
  • Fixed an issue where the EnergyDataResult's start_timestampandend_timestamp` did not correctly adjust for timezone offsets.
  • The chrono dependency has been updated to 0.4.34 to fix the minimum version requirement.

Removed

  • The overheated property has been removed from DeviceInfoGenericResult because it's not present in the response of all devices.

Tapo Python v0.3.1

27 Jun 21:59
cba5ba5
Compare
Choose a tag to compare

Fixed

  • ColorLightSetDeviceInfoParams hue field validation has been changed from between 1 and 360 to between 0 and 360 to match the device's expected range.
  • Fixed an issue where the EnergyDataResult's start_timestampandend_timestamp` did not correctly adjust for timezone offsets.
  • All handlers are now correctly exported and can be imported from the tapo module.

Removed

  • The overheated property has been removed from DeviceInfoGenericResult because it's not present in the response of all devices.

Tapo Rust v.0.7.11

04 May 13:31
92f81be
Compare
Choose a tag to compare

Added

  • Added support for the P300 power strip (thanks to @Michal-Szczepaniak).
  • RgbLightStripHandler and DeviceInfoRgbLightStripResult have been added to support the L900 devices separately from the L530 and L630 devices.

Changed

  • ChildDeviceResult has been renamed to ChildDeviceHubResult to facilitate adding support for other devices with children.
  • ColorLightStripHandler has been renamed to RgbicLightStripHandler to better reflect its purpose.
  • DeviceInfoColorLightStripResult has been renamed to DeviceInfoRgbicLightStripResult to better reflect its purpose.

Tapo Python v0.3.0

04 May 13:30
924acd1
Compare
Choose a tag to compare

Added

  • Added partial support for the H100 hub and its child devices. Currently, only the get_device_info function is supported for the child devices through the hub's get_child_device_list method.

Changed

  • A large number of types have been reorganized to me more in line with the Rust library. This includes moving many of them under the requests and responses sub modules.

Removed

  • l900 has been removed from the ApiClient until proper support is added.

Tapo Rust v.0.7.10

05 Apr 19:32
7a67a12
Compare
Choose a tag to compare

Changed

  • The implementation of ApiClient::new has been improved to allow for the return of ApiClient instead of Result<ApiClient, Error>.
  • The default timeout for all requests has been reduced to 30 seconds from 300 seconds.
  • ApiClient::with_timeout has been added to allow for the setting of a custom timeout for all requests (thanks to @skoky).

Tapo Python v0.2.1

05 Apr 19:31
22d8dce
Compare
Choose a tag to compare

Changed

  • The default timeout for all requests has been reduced to 30 seconds from 300 seconds.
  • The timeout_s optional parameter has been added to the ApiClient constructor to allow for the setting of a custom timeout for all requests (thanks to @skoky).

Tapo Rust v.0.7.9

27 Jan 10:53
2a2ed22
Compare
Choose a tag to compare

Changed

  • The send() method of the .set() API now takes a reference to the device handler in order to allow for better ergonomics.

Fixed

  • The device info response for the L510, L520, and L610 devices has been fixed.

Tapo Python v0.2.0

27 Jan 10:34
14a8438
Compare
Choose a tag to compare

Added

  • Added support for the L530, L630, and L900 color light bulbs.

Fixed

  • Fixed a misconfiguration that was preventing the sdist package from working properly.
  • The device info response for the L510, L520, and L610 devices has been fixed.

Tapo Rust v0.7.8

20 Jan 21:41
c8307d5
Compare
Choose a tag to compare

Added

  • Added the device_reset method to all plugs and lights.

Fixed

  • The device info response for the L510, L520, and L610 devices has been fixed to have the re_power_type field as optional.