github jcwillox/hass-auto-backup 0.8.0

latest releases: v1.5.0, v1.4.1, v1.4.0...
2 years ago

This release contains mostly code quality changes, the codebase has been refactored and greatly cleaned up, which is something I've been meaning to do for a while. This is also going to be the last release targeting Home Assistant versions before 2021.9, i.e. future releases will require at least HA 2021.9, this is due to changes to the Supervisor API.

I was also bothered enough to create some tests, they are really just a couple of HA scripts, but still, it makes it a lot easier to test if everything is still working correctly without having to manually type out and run a bunch of different service calls, not sure why I didn't do it sooner.

Notable changes

  • Service calls are now able to wait for a snapshot to complete (439af09)
    • HA will wait up to 10 seconds for service calls to complete before moving them to the background
  • Add media to default snapshot folders (3cca3dc)
    • This fixes the media folder not being included when using the exclude option

Other changes

  • Refactor supervisor API client into separate module (fc1af89)
  • Major refactoring of the create snapshot method (208d608)
  • Refactor the purge snapshot method (d54a928)
  • Only stop tracking a snapshot if it no longer exists (c0ba43d)
  • Use lists for simplicity when ensuring slugs (51dcf5d)
  • Refactor service schemas (b2a913f)
  • Rename snapshots and store (c158ddf)

Don't miss a new hass-auto-backup release

NewReleases is sending notifications on new releases.