Skip to content

Commit 0667b8d

Browse files
committed
s3: added timer status and productivity im m3/h to response.
1 parent 0504eb0 commit 0667b8d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tion/s3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ def process_mode(mode_code: int) -> str:
8181
"heater_temp": response[3],
8282
"heater": self._process_status(response[4] & 1),
8383
"status": self._process_status(response[4] >> 1 & 1),
84+
"timer": self._process_status(response[4] >> 2 & 1),
8485
"sound": self._process_status(response[4] >> 3 & 1),
8586
"out_temp": self.decode_temperature(response[7]),
8687
"in_temp": self.decode_temperature(response[8]),
8788
"filter_remain": response[10] * 256 + response[9],
8889
"time": "{}:{}".format(response[11], response[12]),
8990
"request_error_code": response[13],
91+
"productivity": response[14],
9092
"fw_version": "{:02x}{:02x}".format(response[18], response[17])}
9193

9294
if result["heater"] == "off":

0 commit comments

Comments
 (0)