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

Merge pull request #169 from ooo89/master

Add support for Clas Ohlsson OEM branded SP3
This commit is contained in:
Daniel Høyer Iversen 2018-03-31 15:56:06 +02:00 committed by GitHub
commit e9f4bb6372
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