jcwillox / hass-auto-backup

🗃️ Improved Backup Service for Home Assistant that can Automatically Remove Backups and Supports Generational Backup Schemes.
https://jcwillox.github.io/hass-auto-backup
MIT License
368 stars 27 forks source link

is_hassio is deprecated #158

Closed ErikvO closed 1 week ago

ErikvO commented 3 weeks ago

The problem

Logger: homeassistant.components.hassio Source: helpers/deprecation.py:222 integration: Home Assistant Supervisor (documentation, issues) First occurred: 9:08:37 PM (3 occurrences) Last logged: 9:08:37 PM

is_hassio was called from auto_backup, this is a deprecated function which will be removed in HA Core 2025.11. Use homeassistant.helpers.hassio.is_hassio instead, please create a bug report at https://github.com/jcwillox/hass-auto-backup/issues

What version of Auto Backup has the issue?

1.5.0

What version of Home Assistant are you running?

2024.11.0

What type of installation are you running?

Home Assistant OS

If you're running HA OS/Supervised, what version of the Supervisor are you running?

2024.11.2

steps56 commented 3 weeks ago

Same here. Please fix it soon, as a working backup integration (used by automation daily) is very important. Thanks in advance.

steps56 commented 3 weeks ago

Still no answer 🤔...😪

jcwillox commented 3 weeks ago

I'll get on this today, its not actually breaking the integration is it? It's just the deprecation notice right?

ErikvO commented 2 weeks ago

Correct. For me the backups still run like normal. It is just the deprecation.

J4yDubsHome commented 2 weeks ago

No rush. You have a year before it's removed.

steps56 commented 2 weeks ago

Thanks a lot for updating 🙋🏼‍♂️. Edit: Still not fixed as I see after todays HA core update 😪.

jcwillox commented 1 week ago

The previous update was just for a breaking issue on HA Core, I was postponing this for a bit because it's just a deprecation warning, it also required pinning the minimum version of HA to 2024.11 for auto backup, but it's now fixed in https://github.com/jcwillox/hass-auto-backup/releases/tag/v1.5.3

jeremysherriff commented 1 week ago

Not how deprecation warnings work, and in my opinion should be reverted. This forces everyone to update HA to 2024.11 at the minimum, so those waiting on bug fixes in HA must now also hold back this integration too. There is a reason the deprecation notice gives 12 months to migrate.

steps56 commented 1 week ago

I am using newest Beta HA App... 😉... so no problem to use even newest not official version of HA 😇.

ErikvO commented 1 week ago

Hi @jcwillox Thanks for the update. I can confirm the warning is no longer present.