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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user