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

SP3S support (#117)

This commit is contained in:
Eugene Schava 2017-11-25 22:08:58 +02:00 committed by Matthew Garrett
parent 1d7fba3d06
commit 626b459b5b

View File

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