Releases: mihai-dinculescu/tapo
Releases · mihai-dinculescu/tapo
Tapo Rust v.0.7.11
Added
- Added support for the P300 power strip (thanks to @Michal-Szczepaniak).
RgbLightStripHandler
andDeviceInfoRgbLightStripResult
have been added to support the L900 devices separately from the L530 and L630 devices.
Changed
ChildDeviceResult
has been renamed toChildDeviceHubResult
to facilitate adding support for other devices with children.ColorLightStripHandler
has been renamed toRgbicLightStripHandler
to better reflect its purpose.DeviceInfoColorLightStripResult
has been renamed toDeviceInfoRgbicLightStripResult
to better reflect its purpose.
Tapo Python v0.3.0
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'sget_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
andresponses
sub modules.
Removed
l900
has been removed from theApiClient
until proper support is added.
Tapo Rust v.0.7.10
Changed
- The implementation of
ApiClient::new
has been improved to allow for the return ofApiClient
instead ofResult<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
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 theApiClient
constructor to allow for the setting of a custom timeout for all requests (thanks to @skoky).
Tapo Rust v.0.7.9
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
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
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.
Tapo Python v0.1.5
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.
Tapo Rust v0.7.7
Changed
- The
anyhow::anyhow!("Local hash does not match server hash")
error has been replaced with the more specifictapo::TapoResponseError::InvalidCredentials
error.
Fixed
- The
default_states
field that's part of the device info response has been changed for the L510, L520, and L610 devices to match the actual response from the device. - A handful of edge cases around the Klap Protocol that were causing panics have been fixed to return
tapo::TapoResponseError::SessionTimeout
ortapo::TapoResponseError::InvalidResponse
errors instead.
Tapo Python v0.1.4
Changed
- The "Local hash does not match server hash" error has been replaced with the more specific
tapo::TapoResponseError::InvalidCredentials
error.
Fixed
- The
default_states
field that's part of the device info response has been changed for the L510, L520, and L610 devices to match the actual response from the device. - A handful of edge cases around the Klap Protocol that were causing panics have been fixed to return
tapo::TapoResponseError::SessionTimeout
ortapo::TapoResponseError::InvalidResponse
errors instead.