Skip to content

Commit b9f5962

Browse files
committed
Blacked
1 parent b431108 commit b9f5962

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

plugwise/helper.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -928,12 +928,16 @@ def _get_appliances_with_offset_functionality(self) -> list[str]:
928928

929929
return therm_list
930930

931-
def _get_actuator_functionalities(self, xml: etree, device: DeviceData, data: DeviceData) -> None:
931+
def _get_actuator_functionalities(
932+
self, xml: etree, device: DeviceData, data: DeviceData
933+
) -> None:
932934
"""Helper-function for _get_measurement_data()."""
933935
for item in ACTIVE_ACTUATORS:
934-
# Skip max_dhw_temperature, not initially valid,
936+
# Skip max_dhw_temperature, not initially valid,
935937
# kkip thermostat for thermo_sensors
936-
if item == "max_dhw_temperature" or (item == "thermostat" and device["dev_class"] == "thermo_sensor"):
938+
if item == "max_dhw_temperature" or (
939+
item == "thermostat" and device["dev_class"] == "thermo_sensor"
940+
):
937941
continue
938942

939943
temp_dict: ActuatorData = {}

0 commit comments

Comments
 (0)