Fix async_validate_location arguments order (#111277)

fix `async_validate_location` arguments order
This commit is contained in:
Rami Mosleh 2024-02-24 22:43:00 +02:00 committed by GitHub
parent c45cae3665
commit a65d9c17c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {}