Skip to content

v0.2.0

Compare
Choose a tag to compare
@Sibgatulin Sibgatulin released this 18 Sep 14:08
· 40 commits to main since this release
  • Breaking changes:
    • AirQ constructor requires an aiohttp.ClientSession
      This session is to be used for all requests during the lifetime of the
      object.
    • .test_authentication() -> bool => .validate() -> None
      Instead of returning False the new method raises InvalidAuth
    • .drop_errors_from_data => .drop_uncertainties_from_data
      To avoid ambiguity
  • Features:
    • AirQ provides fetch_device_info which returns a subclass of
      NamedTuple with some handy information (mainly for the purpose of
      subsequently passing it on to Home Assistant)