1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 15:10:12 +01:00

Update __init__.py

This commit is contained in:
ooo89 2018-03-28 16:56:36 +02:00 committed by GitHub
parent ed6cec9b7f
commit 832a40c278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,8 @@ def gendevice(devtype, host, mac):
return sp2(host=host, mac=mac, devtype=devtype)
elif devtype == 0x753e: # SP3
return sp2(host=host, mac=mac, devtype=devtype)
elif devtype == 0x7D00: # OEM branded SP3
return sp2(host=host, mac=mac, devtype=devtype)
elif devtype == 0x947a or devtype == 0x9479: # SP3S
return sp2(host=host, mac=mac, devtype=devtype)
elif devtype == 0x2728: # SPMini2