mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Update pyatag to 0.3.4.4 (#40720)
This commit is contained in:
parent
7e58bfe01d
commit
fe6786aa6a
@ -3,6 +3,6 @@
|
||||
"name": "Atag",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/atag/",
|
||||
"requirements": ["pyatag==0.3.3.4"],
|
||||
"requirements": ["pyatag==0.3.4.4"],
|
||||
"codeowners": ["@MatsNL"]
|
||||
}
|
||||
|
@ -1247,7 +1247,7 @@ pyalmond==0.0.2
|
||||
pyarlo==0.2.3
|
||||
|
||||
# homeassistant.components.atag
|
||||
pyatag==0.3.3.4
|
||||
pyatag==0.3.4.4
|
||||
|
||||
# homeassistant.components.netatmo
|
||||
pyatmo==4.0.0
|
||||
|
@ -613,7 +613,7 @@ pyalmond==0.0.2
|
||||
pyarlo==0.2.3
|
||||
|
||||
# homeassistant.components.atag
|
||||
pyatag==0.3.3.4
|
||||
pyatag==0.3.4.4
|
||||
|
||||
# homeassistant.components.netatmo
|
||||
pyatmo==4.0.0
|
||||
|
@ -59,7 +59,7 @@ async def init_integration(
|
||||
) -> MockConfigEntry:
|
||||
"""Set up the Atag integration in Home Assistant."""
|
||||
|
||||
aioclient_mock.get(
|
||||
aioclient_mock.post(
|
||||
"http://127.0.0.1:10000/retrieve",
|
||||
json=RECEIVE_REPLY,
|
||||
headers={"Content-Type": CONTENT_TYPE_JSON},
|
||||
|
@ -78,14 +78,14 @@ async def test_full_flow_implementation(
|
||||
hass: HomeAssistant, aioclient_mock: AiohttpClientMocker
|
||||
) -> None:
|
||||
"""Test registering an integration and finishing flow works."""
|
||||
aioclient_mock.get(
|
||||
"http://127.0.0.1:10000/retrieve",
|
||||
json=RECEIVE_REPLY,
|
||||
)
|
||||
aioclient_mock.post(
|
||||
"http://127.0.0.1:10000/pair",
|
||||
json=PAIR_REPLY,
|
||||
)
|
||||
aioclient_mock.post(
|
||||
"http://127.0.0.1:10000/retrieve",
|
||||
json=RECEIVE_REPLY,
|
||||
)
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN,
|
||||
context={"source": config_entries.SOURCE_USER},
|
||||
|
@ -14,7 +14,7 @@ async def test_config_entry_not_ready(
|
||||
hass: HomeAssistant, aioclient_mock: AiohttpClientMocker
|
||||
) -> None:
|
||||
"""Test configuration entry not ready on library error."""
|
||||
aioclient_mock.get("http://127.0.0.1:10000/retrieve", exc=aiohttp.ClientError)
|
||||
aioclient_mock.post("http://127.0.0.1:10000/retrieve", exc=aiohttp.ClientError)
|
||||
entry = await init_integration(hass, aioclient_mock)
|
||||
assert entry.state == ENTRY_STATE_SETUP_RETRY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user