Merge pull request #156 from Nightreaver/master

add new rmpro models
This commit is contained in:
Daniel Høyer Iversen 2018-03-10 15:30:10 +01:00 committed by GitHub
commit 0742039477
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,8 +48,18 @@ def gendevice(devtype, host, mac):
return rm(host=host, mac=mac) return rm(host=host, mac=mac)
elif devtype == 0x2787: # RM2 Pro Plus2 elif devtype == 0x2787: # RM2 Pro Plus2
return rm(host=host, mac=mac) 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 elif devtype == 0x278b: # RM2 Pro Plus BL
return rm(host=host, mac=mac) 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 elif devtype == 0x278f: # RM Mini Shate
return rm(host=host, mac=mac) return rm(host=host, mac=mac)
elif devtype == 0x2714: # A1 elif devtype == 0x2714: # A1