Skip to content

Commit a73bb89

Browse files
committed
Typing and other fixes
1 parent 80c1b6d commit a73bb89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def _scan_thermostats(self) -> None:
834834
self._existing_zones = self._new_zones
835835
self._new_zones = []
836836

837-
def _match_and_rank_thermostats(self) -> dict[str, ThermoLoc]:
837+
def _match_and_rank_thermostats(self) -> None:
838838
"""Helper-function for _scan_thermostats().
839839
840840
Match thermostat-appliances with locations, rank them for locations with multiple thermostats.
@@ -850,7 +850,7 @@ def _rank_thermostat(
850850
entity_id: str,
851851
entity: GwEntityData,
852852
location_id: str,
853-
location: dict[str, ThermoLoc],
853+
location: ThermoLoc,
854854
thermo_matching: dict[str, int],
855855
) -> None:
856856
"""Helper-function for _scan_thermostats().

0 commit comments

Comments
 (0)