Skip to content

Commit 646e0d4

Browse files
authored
Bump aiohasupervisor to version 0.2.2b6 (#136814)
1 parent a6d132a commit 646e0d4

8 files changed

Lines changed: 32 additions & 7 deletions

File tree

homeassistant/components/hassio/backup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
from .handler import get_supervisor_client
4545

4646
LOCATION_CLOUD_BACKUP = ".cloud_backup"
47+
LOCATION_LOCAL = ".local"
4748
MOUNT_JOBS = ("mount_manager_create_mount", "mount_manager_remove_mount")
4849
_LOGGER = logging.getLogger(__name__)
4950

homeassistant/components/hassio/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"documentation": "https://www.home-assistant.io/integrations/hassio",
77
"iot_class": "local_polling",
88
"quality_scale": "internal",
9-
"requirements": ["aiohasupervisor==0.2.2b5"],
9+
"requirements": ["aiohasupervisor==0.2.2b6"],
1010
"single_config_entry": true
1111
}

homeassistant/package_constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
aiodhcpwatcher==1.0.2
44
aiodiscover==2.1.0
55
aiodns==3.2.0
6-
aiohasupervisor==0.2.2b5
6+
aiohasupervisor==0.2.2b6
77
aiohttp-asyncmdnsresolver==0.0.1
88
aiohttp-fast-zlib==0.2.0
99
aiohttp==3.11.11

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
# Integrations may depend on hassio integration without listing it to
2828
# change behavior based on presence of supervisor. Deprecated with #127228
2929
# Lib can be removed with 2025.11
30-
"aiohasupervisor==0.2.2b5",
30+
"aiohasupervisor==0.2.2b6",
3131
"aiohttp==3.11.11",
3232
"aiohttp_cors==0.7.0",
3333
"aiohttp-fast-zlib==0.2.0",

requirements.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/components/hassio/test_backup.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
Folder,
3636
)
3737
from homeassistant.components.hassio import DOMAIN
38-
from homeassistant.components.hassio.backup import LOCATION_CLOUD_BACKUP
38+
from homeassistant.components.hassio.backup import LOCATION_CLOUD_BACKUP, LOCATION_LOCAL
3939
from homeassistant.core import HomeAssistant
4040
from homeassistant.setup import async_setup_component
4141

@@ -53,6 +53,11 @@
5353
),
5454
date=datetime.fromisoformat("1970-01-01T00:00:00Z"),
5555
location=None,
56+
location_attributes={
57+
LOCATION_LOCAL: supervisor_backups.BackupLocationAttributes(
58+
protected=False, size_bytes=1048576
59+
)
60+
},
5661
locations={None},
5762
name="Test",
5863
protected=False,
@@ -77,6 +82,7 @@
7782
homeassistant_exclude_database=False,
7883
homeassistant="2024.12.0",
7984
location=TEST_BACKUP.location,
85+
location_attributes=TEST_BACKUP.location_attributes,
8086
locations=TEST_BACKUP.locations,
8187
name=TEST_BACKUP.name,
8288
protected=TEST_BACKUP.protected,
@@ -97,6 +103,11 @@
97103
),
98104
date=datetime.fromisoformat("1970-01-01T00:00:00Z"),
99105
location=None,
106+
location_attributes={
107+
LOCATION_LOCAL: supervisor_backups.BackupLocationAttributes(
108+
protected=False, size_bytes=1048576
109+
)
110+
},
100111
locations={None},
101112
name="Test",
102113
protected=False,
@@ -121,6 +132,7 @@
121132
homeassistant_exclude_database=False,
122133
homeassistant=None,
123134
location=TEST_BACKUP_2.location,
135+
location_attributes=TEST_BACKUP_2.location_attributes,
124136
locations=TEST_BACKUP_2.locations,
125137
name=TEST_BACKUP_2.name,
126138
protected=TEST_BACKUP_2.protected,
@@ -141,6 +153,11 @@
141153
),
142154
date=datetime.fromisoformat("1970-01-01T00:00:00Z"),
143155
location="share",
156+
location_attributes={
157+
LOCATION_LOCAL: supervisor_backups.BackupLocationAttributes(
158+
protected=False, size_bytes=1048576
159+
)
160+
},
144161
locations={"share"},
145162
name="Test",
146163
protected=False,
@@ -165,6 +182,7 @@
165182
homeassistant_exclude_database=False,
166183
homeassistant=None,
167184
location=TEST_BACKUP_3.location,
185+
location_attributes=TEST_BACKUP_3.location_attributes,
168186
locations=TEST_BACKUP_3.locations,
169187
name=TEST_BACKUP_3.name,
170188
protected=TEST_BACKUP_3.protected,
@@ -186,6 +204,11 @@
186204
),
187205
date=datetime.fromisoformat("1970-01-01T00:00:00Z"),
188206
location=None,
207+
location_attributes={
208+
LOCATION_LOCAL: supervisor_backups.BackupLocationAttributes(
209+
protected=False, size_bytes=1048576
210+
)
211+
},
189212
locations={None},
190213
name="Test",
191214
protected=False,
@@ -210,6 +233,7 @@
210233
homeassistant_exclude_database=True,
211234
homeassistant="2024.12.0",
212235
location=TEST_BACKUP.location,
236+
location_attributes=TEST_BACKUP.location_attributes,
213237
locations=TEST_BACKUP.locations,
214238
name=TEST_BACKUP.name,
215239
protected=TEST_BACKUP.protected,

0 commit comments

Comments
 (0)