From d186332b965c32a7f6defd4eb340b46901d99c82 Mon Sep 17 00:00:00 2001 From: Steven Barthen Date: Sat, 10 Mar 2018 21:10:33 +0900 Subject: [PATCH] add new rmpro models - Pro Plus 3, Pro Plus 300, Pro Plus HYC, Pro Plus R1, Pro PP --- broadlink/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/broadlink/__init__.py b/broadlink/__init__.py index dbabce0b3..f85d4e149 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -48,8 +48,18 @@ def gendevice(devtype, host, mac): return rm(host=host, mac=mac) elif devtype == 0x2787: # RM2 Pro Plus2 return rm(host=host, mac=mac) + elif devtype == 0x279d: # RM2 Pro Plus3 + return rm(host=host, mac=mac) + elif devtype == 0x27a9: # RM2 Pro Plus_300 + return rm(host=host, mac=mac) elif devtype == 0x278b: # RM2 Pro Plus BL return rm(host=host, mac=mac) + elif devtype == 0x2797: # RM2 Pro Plus HYC + return rm(host=host, mac=mac) + elif devtype == 0x27a1: # RM2 Pro Plus R1 + return rm(host=host, mac=mac) + elif devtype == 0x27a6: # RM2 Pro PP + return rm(host=host, mac=mac) elif devtype == 0x278f: # RM Mini Shate return rm(host=host, mac=mac) elif devtype == 0x2714: # A1