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
366 stars 27 forks source link

Avoid deprecated types #134

Closed SukramJ closed 6 months ago

SukramJ commented 6 months ago

Fixes #129

Avoid deprecated types:

HomeAssistantType was used from auto_backup, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'auto_backup' custom integration
ServiceCallType was used from auto_backup, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the 'auto_backup' custom integration
EventType was used from auto_backup, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'auto_backup' custom integration

Works with HA 2024.5.3

jcwillox commented 6 months ago

Thanks, was going to fix this eventually 😄 wasn't in any rush this time, they used to only give like 1 month to fix this stuff, nice they're giving a year before breaking everything.

jcwillox commented 6 months ago

Thanks, I'll do a release with the update soon.

Yeah the black update was unrelated, guess they made a recent change to the style, either way I'd have to format it at some point 👍

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 1.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: