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