1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 23:17:47 +01:00

Merge pull request #8 from eschava/master

SP3S support
This commit is contained in:
jazzina 2017-08-07 18:17:29 +03:00 committed by GitHub
commit 91bede13cf

View File

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