Skip to content

Commit 107b688

Browse files
committed
s3: fix fields in fw_version detection
1 parent c5ad597 commit 107b688

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tion/s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def process_mode(mode_code: int) -> str:
7777
"filter_remain": response[10] * 256 + response[9],
7878
"time": "{}:{}".format(response[11], response[12]),
7979
"request_error_code": response[13],
80-
"fw_version": "{:02x}{:02x}".format(response[16], response[17])}
80+
"fw_version": "{:02x}{:02x}".format(response[18], response[17])}
8181

8282
if result["heater"] == "off":
8383
result["is_heating"] = "off"

0 commit comments

Comments
 (0)