File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88DYSON_PURE_HOT_COOL_LINK_TOUR = "455"
99DYSON_360_EYE = "N223"
1010DYSON_PURE_COOL = "438"
11+ DYSON_PURE_COOL_HUMIDIFY = "358"
1112DYSON_PURE_COOL_DESKTOP = "520"
1213DYSON_PURE_HOT_COOL = "527"
1314
Original file line number Diff line number Diff line change 44from Crypto .Cipher import AES
55from .const import DYSON_PURE_HOT_COOL_LINK_TOUR , \
66 DYSON_360_EYE , DYSON_PURE_COOL , DYSON_PURE_COOL_DESKTOP , \
7- DYSON_PURE_HOT_COOL
7+ DYSON_PURE_HOT_COOL , DYSON_PURE_COOL_HUMIDIFY
88
99
1010def support_heating (product_type ):
@@ -33,7 +33,7 @@ def is_pure_cool_v2(product_type):
3333 :param product_type Dyson device model
3434 """
3535 if product_type in [DYSON_PURE_COOL , DYSON_PURE_COOL_DESKTOP ,
36- DYSON_PURE_HOT_COOL ]:
36+ DYSON_PURE_HOT_COOL , DYSON_PURE_COOL_HUMIDIFY ]:
3737 return True
3838 return False
3939
@@ -91,7 +91,8 @@ def is_360_eye_device(json_payload):
9191def is_dyson_pure_cool_device (json_payload ):
9292 """Return true if this json payload is a v2 dyson pure cool device."""
9393 if json_payload ['ProductType' ] in [DYSON_PURE_COOL ,
94- DYSON_PURE_COOL_DESKTOP ]:
94+ DYSON_PURE_COOL_DESKTOP ,
95+ DYSON_PURE_COOL_HUMIDIFY ]:
9596 return True
9697 return False
9798
You can’t perform that action at this time.
0 commit comments