Skip to content

Commit acaa6a0

Browse files
committed
reverse logic
1 parent 1e42f13 commit acaa6a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/messages/requests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,8 +1433,8 @@ def __init__( # noqa: PLR0913
14331433
temp_hum_value = Int(1 if temp_hum else 0, length=2)
14341434
lower_bound_value = Int(lower_bound, length=4)
14351435
upper_bound_value = Int(upper_bound, length=4)
1436-
direction_value_1 = Int(0 if direction else 1, length=2)
1437-
direction_value_2 = Int(1 if direction else 0, length=2)
1436+
direction_value_1 = Int(1 if direction else 0, length=2)
1437+
direction_value_2 = Int(0 if direction else 1, length=2)
14381438
self._args += [
14391439
temp_hum_value,
14401440
lower_bound_value,

0 commit comments

Comments
 (0)