Skip to content

0.9.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@rikroe rikroe released this 19 Feb 12:48

What’s Changed

Breaking change

  • All network-related functions are now async, requiring the await keyword or similar functionality. If you are using this library in your custom code, it will most likely affect you in one of the following functions:
    • bimmer_connected.account.ConnectedDriveAccount.get_vehicles()
    • bimmer_connected.remote_services.RemoteServices.trigger_[any-remote-service]()
    • bimmer_connected.vehicle.ConnectedDriveVehicle.get_vehicle_image()
  • Initialization of ConnectedDriveAccount does not automatically get the vehicles from the API, use get_vehicles():
    account = ConnectedDriveAccount(USERNAME, PASSWORD, REGION)
    await account.get_vehicles()
  • bimmer_connected.country_selector has been removed in favor of bimmer_connected.api.regions
  • VehicleStatus is now deprecated. All of the information is available via ConnectedDriveVehicles attributes. You will see a logged DeprecationWarning everytime your code accesses a deprecated property.
  • While not offically supported before, Python<3.6 is now broken

Changes

  • Fully refactored the library, functionality should stay the same (except for above breaking changes)