Skip to content

Commit 83dc40b

Browse files
author
autoblack
committed
fixup: pw_next_2 Python code reformatted using Black
1 parent dfb545f commit 83dc40b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

plugwise/helper.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def presets(self, loc_id):
549549
return presets
550550

551551
def rule_ids_by_name(self, name, loc_id):
552-
""" Helper-function for presets().
552+
"""Helper-function for presets().
553553
Obtain the rule_id from the given name and location_id.
554554
"""
555555
schema_ids = {}
@@ -562,7 +562,7 @@ def rule_ids_by_name(self, name, loc_id):
562562
return schema_ids
563563

564564
def rule_ids_by_tag(self, tag, loc_id):
565-
""" Helper-function for presets(), schemas() and last_active_schema().
565+
"""Helper-function for presets(), schemas() and last_active_schema().
566566
Obtain the rule_id from the given template_tag and location_id.
567567
"""
568568
schema_ids = {}
@@ -729,9 +729,8 @@ def scan_thermostats(self, debug_text="missing text"):
729729
if thermo_matching[appl_class] > high_prio:
730730
high_prio = thermo_matching[appl_class]
731731

732-
733732
def temperature_uri_legacy(self):
734-
""" Helper-function for temperature_uri().
733+
"""Helper-function for temperature_uri().
735734
Determine the location-set_temperature uri - from APPLIANCES.
736735
"""
737736
locator = ".//appliance[type='thermostat']"

0 commit comments

Comments
 (0)