1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

AVM Fritz!Box SmartHome: Integrate Templates (#81885)

This commit is contained in:
Ayk Borstelmann
2022-11-18 17:37:56 +01:00
committed by GitHub
parent f7badfe441
commit 3b783a85c3
14 changed files with 235 additions and 95 deletions

View File

@@ -167,7 +167,9 @@ async def test_coordinator_update_after_reboot(hass: HomeAssistant, fritz: Mock)
assert await hass.config_entries.async_setup(entry.entry_id)
assert fritz().update_devices.call_count == 2
assert fritz().update_templates.call_count == 1
assert fritz().get_devices.call_count == 1
assert fritz().get_templates.call_count == 1
assert fritz().login.call_count == 2
@@ -187,6 +189,7 @@ async def test_coordinator_update_after_password_change(
assert not await hass.config_entries.async_setup(entry.entry_id)
assert fritz().update_devices.call_count == 1
assert fritz().get_devices.call_count == 0
assert fritz().get_templates.call_count == 0
assert fritz().login.call_count == 2