Skip to content

Commit 97d341a

Browse files
committed
Typing and other fixes
1 parent 79ca903 commit 97d341a

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
@@ -836,7 +836,7 @@ def _scan_thermostats(self) -> None:
836836
self._existing_zones = self._new_zones
837837
self._new_zones = []
838838

839-
def _match_and_rank_thermostats(self) -> dict[str, ThermoLoc]:
839+
def _match_and_rank_thermostats(self) -> None:
840840
"""Helper-function for _scan_thermostats().
841841
842842
Match thermostat-appliances with locations, rank them for locations with multiple thermostats.
@@ -852,7 +852,7 @@ def _rank_thermostat(
852852
entity_id: str,
853853
entity: GwEntityData,
854854
location_id: str,
855-
location: dict[str, ThermoLoc],
855+
location: ThermoLoc,
856856
thermo_matching: dict[str, int],
857857
) -> None:
858858
"""Helper-function for _scan_thermostats().

0 commit comments

Comments
 (0)