v0.7.3
Added
- Added support for the newly introduced KLAP protocol, which is required to interact with the latest firmware version of multiple devices.
Changed
- All uses of
time
have been replaced withchrono
:EnergyDataInterval
'stime::OffsetDateTime
andtime::Date
fields have been replaced withchrono::NaiveDate
.EnergyUsageResult::local_time
field is nowchrono::NaiveDateTime
instead oftime::OffsetDateTime
.EnergyDataResult::local_time
field is nowchrono::NaiveDateTime
instead oftime::OffsetDateTime
.TemperatureHumidityRecords
's andTemperatureHumidityRecord
datetime
fields are nowchrono::DateTime<chrono::Utc>
instead oftime::OffsetDateTime
.
EnergyDataInterval::Hourly::start_datetime
andEnergyDataInterval::Hourly::end_datetime
have been renamed tostart_date
andend_date
because the time component is not required.- The
login
function on all handlers has been renamed torefresh_session
to better reflect its purpose and it now takes and returns a&mut self
instead ofself
. L510DeviceInfoResult
has been renamed toLightDeviceInfoResult
to better reflect its purpose when used for L510 and L610 devices.L530DeviceInfoResult
has been renamed toColorLightDeviceInfoResult
to better reflect its purpose when used for L530, L630 and L900 devices.L930DeviceInfoResult
has been renamed toColorLightStripDeviceInfoResult
to better reflect its purpose when used for L920 and L930 devices.- The
default_states
field ofLightDeviceInfoResult
,ColorLightDeviceInfoResult
,ColorLightStripDeviceInfoResult
andPlugDeviceInfoResult
is now a struct instead of an enum.
Full Changelog: v0.7.2...v0.7.3