1
0
Fork 0

Change the type and model of the hysen class (#627)

This commit is contained in:
Felipe Martins Diel 2021-10-17 13:23:05 -03:00 committed by Felipe Martins Diel
parent dc3cf509fc
commit 26ee3192d9
2 changed files with 11 additions and 3 deletions

View File

@ -152,7 +152,7 @@ SUPPORTED_TYPES = {
0x2722: ("S2KIT", "Broadlink"),
},
hysen: {
0x4EAD: ("HY02B05H", "Hysen"),
0x4EAD: ("HY02/HY03", "Hysen"),
},
dooya: {
0x4E4D: ("DT360E-45/20", "Dooya"),

View File

@ -7,9 +7,17 @@ from .helpers import CRC16
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."""