From 7d24ee60776093d2d55f8c2f13a722c981a53407 Mon Sep 17 00:00:00 2001 From: 5ila5 <5ila5@users.noreply.github.com> Date: Mon, 15 Jul 2024 21:35:05 +0200 Subject: [PATCH] api_golemio_cz fix wrong typehint lead to integer instead of float GUI input field --- .../waste_collection_schedule/source/api_golemio_cz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/api_golemio_cz.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/api_golemio_cz.py index 2932ad9c..b012df9a 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/api_golemio_cz.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/api_golemio_cz.py @@ -121,8 +121,8 @@ def _generate_next_picks(next_pick: date, pick_days: str, frequency: int, count= class Source: def __init__( self, - lat: int, - lon: int, + lat: float, + lon: float, radius: int, api_key: str, only_monitored: bool = False,