1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Convert device_sun_light_trigger test fixture to async (#89578)

This commit is contained in:
Erik Montnemery
2023-03-12 14:48:46 +01:00
committed by GitHub
parent 234610b1cc
commit 376a6eb82a
2 changed files with 12 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ from homeassistant.components.device_tracker.config_entry import ScannerEntity
from homeassistant.components.device_tracker.const import SOURCE_TYPE_ROUTER
def get_scanner(hass, config):
async def async_get_scanner(hass, config):
"""Return a mock scanner."""
return SCANNER