Allow float for device_tracker location accuracy (#143604)

This commit is contained in:
Jan Bouwhuis
2025-04-24 23:09:18 +02:00
committed by GitHub
parent 088f0c82bd
commit e389ff2537
11 changed files with 29 additions and 12 deletions

View File

@ -1374,7 +1374,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="location_accuracy",
return_type="int",
return_type="float",
),
TypeHintMatch(
function_name="location_name",