about summary refs log tree commit diff
path: root/broadlink
diff options
context:
space:
mode:
authorhackers365 <hackers365@gmail.com>2017-06-17T09·24+0800
committerMatthew Garrett <mjg59@google.com>2017-11-25T20·08-0800
commit1d7fba3d06af33b6af3d51b87a5c66c32751433d (patch)
tree6487b2d00de87f6276d6ac960ef38cb0020101cf /broadlink
parent4f902342e70fd2528c976abd9a4478aba24de861 (diff)
add honyar mp1 devtype 0x4ef7
Diffstat (limited to 'broadlink')
-rw-r--r--broadlink/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/broadlink/__init__.py b/broadlink/__init__.py
index 1b65345b47b1..f17eabb3798f 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)