mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix async_validate_location
arguments order (#111277)
fix `async_validate_location` arguments order
This commit is contained in:
parent
c45cae3665
commit
a65d9c17c4
@ -39,7 +39,7 @@ from .const import (
|
|||||||
|
|
||||||
|
|
||||||
async def async_validate_location(
|
async def async_validate_location(
|
||||||
hass: HomeAssistant, lon: float, lat: float
|
hass: HomeAssistant, lat: float, lon: float
|
||||||
) -> dict[str, str]:
|
) -> dict[str, str]:
|
||||||
"""Check if the selected location is valid."""
|
"""Check if the selected location is valid."""
|
||||||
errors = {}
|
errors = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user