Skip to content

Commit 26ee319

Browse files
committed
Change the type and model of the hysen class (#627)
1 parent dc3cf50 commit 26ee319

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

broadlink/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
0x2722: ("S2KIT", "Broadlink"),
153153
},
154154
hysen: {
155-
0x4EAD: ("HY02B05H", "Hysen"),
155+
0x4EAD: ("HY02/HY03", "Hysen"),
156156
},
157157
dooya: {
158158
0x4E4D: ("DT360E-45/20", "Dooya"),

broadlink/climate.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@
77

88

99
class hysen(Device):
10-
"""Controls a Hysen HVAC."""
10+
"""Controls a Hysen heating thermostat.
1111
12-
TYPE = "Hysen heating controller"
12+
This device is manufactured by Hysen and sold under different
13+
brands, including Floureon, Beca Energy, Beok and Decdeal.
14+
15+
Supported models:
16+
- HY02B05H
17+
- HY03WE
18+
"""
19+
20+
TYPE = "HYS"
1321

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

0 commit comments

Comments
 (0)