Skip to content

Commit 22d9d99

Browse files
rhammengithub-actions[bot]
authored andcommitted
chore: format code with ruff
1 parent 0100084 commit 22d9d99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

custom_components/luxtronik/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ def correct_key_value(
9898
# region Workaround Detect passive cooling operation mode
9999
if (
100100
sensor_id == LC.C0080_STATUS
101-
and value == LuxOperationMode.no_request
102-
and bool(get_sensor_data(sensors,LC.C0119_STATUS_LINE_3) == 'cooling')
101+
and value == LuxOperationMode.no_request
102+
and bool(get_sensor_data(sensors, LC.C0119_STATUS_LINE_3) == "cooling")
103103
):
104104
return LuxOperationMode.cooling
105105
# endregion Workaround Detect passive cooling operation mode
106-
106+
107107
return value
108108

109109

0 commit comments

Comments
 (0)