From 3cca9b2a9cb5af7a4f8b9c18dccaf0ecf8abb738 Mon Sep 17 00:00:00 2001 From: burjakremen <55150081+burjakremen@users.noreply.github.com> Date: Mon, 9 Nov 2020 22:29:04 +0200 Subject: [PATCH] Update cover.py --- broadlink/cover.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/broadlink/cover.py b/broadlink/cover.py index 3d11ff4..a1ec01a 100644 --- a/broadlink/cover.py +++ b/broadlink/cover.py @@ -59,13 +59,13 @@ class dooya(device): current = self.get_percentage() self.stop() -class dooya_new(device): - """Controls a Dooya curtain motor.""" +class dt36b(device): + """Controls a Dooya DT360E (type B).""" def __init__(self, *args, **kwargs) -> None: """Initialize the controller.""" device.__init__(self, *args, **kwargs) - self.type = "Dooya DT360E(4F6E)" + self.type = "DT36B" def _send(self, command: int, attribute: int = 0) -> int: """Send a packet to the device."""