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

Import webhook in netatmo (#64105)

* Import webhook in netatmo

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet
2022-01-14 13:01:14 +01:00
committed by GitHub
parent 0042bb68d9
commit e492cb5156
5 changed files with 17 additions and 18 deletions

View File

@@ -106,5 +106,5 @@ def selected_platforms(platforms):
"""Restrict loaded platforms to list given."""
with patch("homeassistant.components.netatmo.PLATFORMS", platforms), patch(
"homeassistant.helpers.config_entry_oauth2_flow.async_get_config_entry_implementation",
), patch("homeassistant.components.webhook.async_generate_url"):
), patch("homeassistant.components.netatmo.webhook_generate_url"):
yield