Skip to content

Releases: amitfin/patch

Wait for recorder migration

05 Sep 17:34
Compare
Choose a tag to compare

New logic to wait until the recorder migration process is done.

Additional details: Recorder migration is typically running when upgrading to a new major version of Home Assistant. The migration process can take a considerable amount of time. It's not possible to restart Home Assistant during the migration process (rightfully), which is required by the patching process. The solution is to wait for the recorder migration process to complete, and only then execute the patching process, including a restart when needed.

Full Changelog: v1.6.0...v1.7.0

Restart parameter

14 Aug 10:50
Compare
Choose a tag to compare

A new restart optional parameter. Default is true. When it's set to false, there is no HA restart after a patch.

Full Changelog: v1.5.1...v1.6.0

Ignore phantom directories

24 Dec 12:47
Compare
Choose a tag to compare

Apparently, /config/deps/lib/python3.11/site-packages is also part of sys.path in production, although it doesn't exist. It breaks the variable site-packages. The solution is to ignore non-existent directories, so site-packages points to the correct one /usr/local/lib/python3.11/site-packages.

Destination path variables

24 Dec 10:40
76ee9d6
Compare
Choose a tag to compare

Add 2 variables, site-packages and homeassistant, which can be used as a prefix in the destination parameter.

2023.11 compatibility

02 Nov 07:23
Compare
Choose a tag to compare

The location of "SERVICE_HOMEASSISTANT_RESTART" constant was changed in HA's 2023.11 release. It broke the integration. This release fixes it.

Repair issue for base mismatch

17 Oct 19:02
Compare
Choose a tag to compare
v1.3.0

Repair issue for base mismatch

Config validation

16 Oct 12:35
Compare
Choose a tag to compare
v1.2.0

Lint

Check first if destination is identical to patch

08 Oct 17:26
Compare
Choose a tag to compare
v1.1.1

Check first if destination is identical to patch

Base file

08 Oct 17:06
Compare
Choose a tag to compare

Added base file to compare to destination before patching it

Initial version

08 Oct 15:55
Compare
Choose a tag to compare
v1.0.0

Initial working version