Skip to content

Commit

Permalink
fix: replace deprecated is_hassio method in HA 2024.11 (#165)
Browse files Browse the repository at this point in the history
Fixes: #163, #158
  • Loading branch information
jcwillox authored Nov 19, 2024
1 parent 4469e4d commit 1d73952
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/auto_backup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
ATTR_FOLDERS,
ATTR_ADDONS,
ATTR_PASSWORD,
is_hassio,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_NAME, __version__
from homeassistant.core import HomeAssistant, callback, ServiceCall
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.hassio import is_hassio
from homeassistant.helpers.json import JSONEncoder
from homeassistant.helpers.storage import Store
from homeassistant.loader import bind_hass
Expand Down
2 changes: 1 addition & 1 deletion custom_components/auto_backup/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import voluptuous as vol
from homeassistant import config_entries
from homeassistant.components.hassio import is_hassio
from homeassistant.core import callback, HomeAssistant
from homeassistant.helpers.hassio import is_hassio

from . import is_backup
from .const import DOMAIN, DEFAULT_BACKUP_TIMEOUT, CONF_AUTO_PURGE, CONF_BACKUP_TIMEOUT
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"zip_release": true,
"hide_default_branch": true,
"filename": "auto_backup.zip",
"homeassistant": "2023.4.0"
"homeassistant": "2024.11.0"
}

0 comments on commit 1d73952

Please sign in to comment.