From 1d7fba3d06af33b6af3d51b87a5c66c32751433d Mon Sep 17 00:00:00 2001 From: hackers365 Date: Sat, 17 Jun 2017 17:24:18 +0800 Subject: [PATCH] add honyar mp1 devtype 0x4ef7 --- broadlink/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadlink/__init__.py b/broadlink/__init__.py index 1b65345b4..f17eabb37 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -51,7 +51,7 @@ def gendevice(devtype, host, mac): return rm(host=host, mac=mac) elif devtype == 0x2714: # A1 return a1(host=host, mac=mac) - elif devtype == 0x4EB5: # MP1 + elif devtype == 0x4EB5 or devtype == 0x4EF7: # MP1: 0x4eb5, honyar oem mp1: 0x4ef7 return mp1(host=host, mac=mac) else: return device(host=host, mac=mac)