Skip to content

1.0.0

Compare
Choose a tag to compare
@Leggin Leggin released this 29 Oct 08:45
· 107 commits to main since this release
37c2256

Breaking changes:

  • device_id is now id(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

  • refactor data models to use pydantic by @Leggin in #32

Full Changelog: v0.1.11...v1.0.0