Skip to content

Commit

Permalink
Change the type and model of the hysen class (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipediel committed Oct 17, 2021
1 parent dc3cf50 commit 26ee319
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion broadlink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
0x2722: ("S2KIT", "Broadlink"),
},
hysen: {
0x4EAD: ("HY02B05H", "Hysen"),
0x4EAD: ("HY02/HY03", "Hysen"),
},
dooya: {
0x4E4D: ("DT360E-45/20", "Dooya"),
Expand Down
12 changes: 10 additions & 2 deletions broadlink/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@


class hysen(Device):
"""Controls a Hysen HVAC."""
"""Controls a Hysen heating thermostat.
TYPE = "Hysen heating controller"
This device is manufactured by Hysen and sold under different
brands, including Floureon, Beca Energy, Beok and Decdeal.
Supported models:
- HY02B05H
- HY03WE
"""

TYPE = "HYS"

def send_request(self, request: t.Sequence[int]) -> bytes:
"""Send a request to the device."""
Expand Down

0 comments on commit 26ee319

Please sign in to comment.