1.0.0
Breaking changes:
device_id
is nowid
(which is a little bit conflicting with the python reserved name, but is the direct mapping of the value from the IKEA rest API)- the attributes that were available top level on the devices (i.e.
light.is_on
) are now in device.attributes. (light.attributes.is_on
) -> the attributes are now in sync with the attribute hierarchy and naming from IKEAs rest endpoints - there are now more values available on the base device from which all devices inherit (i.e. room)
- timestamps that were strings previously are now
datetime
objects .refresh()
was removed and replaced by.reload()
which returns the reloaded device now instead of updating in memory (this is easier than updating in memory and comes for free with the pydantic mapping)
What's Changed
Full Changelog: v0.1.11...v1.0.0