mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Bump aiohasupervisor to 0.2.0 (#129348)
This commit is contained in:
parent
a528d62c16
commit
1649368cee
@ -192,7 +192,7 @@ class AddonManager:
|
|||||||
)
|
)
|
||||||
async def async_set_addon_options(self, config: dict) -> None:
|
async def async_set_addon_options(self, config: dict) -> None:
|
||||||
"""Set manager add-on options."""
|
"""Set manager add-on options."""
|
||||||
await self._supervisor_client.addons.addon_options(
|
await self._supervisor_client.addons.set_addon_options(
|
||||||
self.addon_slug, AddonsOptions(config=config)
|
self.addon_slug, AddonsOptions(config=config)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/hassio",
|
"documentation": "https://www.home-assistant.io/integrations/hassio",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"quality_scale": "internal",
|
"quality_scale": "internal",
|
||||||
"requirements": ["aiohasupervisor==0.2.0b0"],
|
"requirements": ["aiohasupervisor==0.2.0"],
|
||||||
"single_config_entry": true
|
"single_config_entry": true
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
aiodhcpwatcher==1.0.2
|
aiodhcpwatcher==1.0.2
|
||||||
aiodiscover==2.1.0
|
aiodiscover==2.1.0
|
||||||
aiodns==3.2.0
|
aiodns==3.2.0
|
||||||
aiohasupervisor==0.2.0b0
|
aiohasupervisor==0.2.0
|
||||||
aiohttp-fast-zlib==0.1.1
|
aiohttp-fast-zlib==0.1.1
|
||||||
aiohttp==3.10.10
|
aiohttp==3.10.10
|
||||||
aiohttp_cors==0.7.0
|
aiohttp_cors==0.7.0
|
||||||
|
@ -26,7 +26,7 @@ dependencies = [
|
|||||||
"aiodns==3.2.0",
|
"aiodns==3.2.0",
|
||||||
# Integrations may depend on hassio integration without listing it to
|
# Integrations may depend on hassio integration without listing it to
|
||||||
# change behavior based on presence of supervisor
|
# change behavior based on presence of supervisor
|
||||||
"aiohasupervisor==0.2.0b0",
|
"aiohasupervisor==0.2.0",
|
||||||
"aiohttp==3.10.10",
|
"aiohttp==3.10.10",
|
||||||
"aiohttp_cors==0.7.0",
|
"aiohttp_cors==0.7.0",
|
||||||
"aiohttp-fast-zlib==0.1.1",
|
"aiohttp-fast-zlib==0.1.1",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# Home Assistant Core
|
# Home Assistant Core
|
||||||
aiodns==3.2.0
|
aiodns==3.2.0
|
||||||
aiohasupervisor==0.2.0b0
|
aiohasupervisor==0.2.0
|
||||||
aiohttp==3.10.10
|
aiohttp==3.10.10
|
||||||
aiohttp_cors==0.7.0
|
aiohttp_cors==0.7.0
|
||||||
aiohttp-fast-zlib==0.1.1
|
aiohttp-fast-zlib==0.1.1
|
||||||
|
@ -259,7 +259,7 @@ aioguardian==2022.07.0
|
|||||||
aioharmony==0.2.10
|
aioharmony==0.2.10
|
||||||
|
|
||||||
# homeassistant.components.hassio
|
# homeassistant.components.hassio
|
||||||
aiohasupervisor==0.2.0b0
|
aiohasupervisor==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit==3.2.5
|
aiohomekit==3.2.5
|
||||||
|
@ -244,7 +244,7 @@ aioguardian==2022.07.0
|
|||||||
aioharmony==0.2.10
|
aioharmony==0.2.10
|
||||||
|
|
||||||
# homeassistant.components.hassio
|
# homeassistant.components.hassio
|
||||||
aiohasupervisor==0.2.0b0
|
aiohasupervisor==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit==3.2.5
|
aiohomekit==3.2.5
|
||||||
|
@ -385,8 +385,10 @@ def set_addon_options_fixture(
|
|||||||
set_addon_options_side_effect: Any | None,
|
set_addon_options_side_effect: Any | None,
|
||||||
) -> AsyncMock:
|
) -> AsyncMock:
|
||||||
"""Mock set add-on options."""
|
"""Mock set add-on options."""
|
||||||
supervisor_client.addons.addon_options.side_effect = set_addon_options_side_effect
|
supervisor_client.addons.set_addon_options.side_effect = (
|
||||||
return supervisor_client.addons.addon_options
|
set_addon_options_side_effect
|
||||||
|
)
|
||||||
|
return supervisor_client.addons.set_addon_options
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(name="uninstall_addon")
|
@pytest.fixture(name="uninstall_addon")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user