diff options
author | Eugene Schava <eschava@gmail.com> | 2017-11-25T20·08+0200 |
---|---|---|
committer | Matthew Garrett <mjg59-github@srcf.ucam.org> | 2017-11-25T20·08-0800 |
commit | 626b459b5b13931008fdaaf3b6261dd8bc9c2e33 (patch) | |
tree | 59d292e7c109966e33e0d81b54215e66f8b0c802 /broadlink/__init__.py | |
parent | 1d7fba3d06af33b6af3d51b87a5c66c32751433d (diff) |
SP3S support (#117)
Diffstat (limited to 'broadlink/__init__.py')
-rw-r--r-- | broadlink/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/broadlink/__init__.py b/broadlink/__init__.py index f17eabb3798f..eb945a7d96fe 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -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 |