We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f3a58 commit 70fa1f2Copy full SHA for 70fa1f2
plugwise/helper.py
@@ -383,7 +383,7 @@ def _get_p1_smartmeter_info(self) -> None:
383
def _sort_gw_entities(self) -> None:
384
"""Place the gateway and optional heater_central entities as 1st and 2nd."""
385
def sort_key(item):
386
- entity_id, entity = item
+ _, entity = item
387
try:
388
return PRIORITY_DEVICE_CLASSES.index(entity["dev_class"])
389
except ValueError:
0 commit comments