about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugene Schava <eschava@gmail.com>2017-11-25T20·08+0200
committerMatthew Garrett <mjg59-github@srcf.ucam.org>2017-11-25T20·08-0800
commit626b459b5b13931008fdaaf3b6261dd8bc9c2e33 (patch)
tree59d292e7c109966e33e0d81b54215e66f8b0c802
parent1d7fba3d06af33b6af3d51b87a5c66c32751433d (diff)
SP3S support (#117)
-rw-r--r--broadlink/__init__.py2
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