From 626b459b5b13931008fdaaf3b6261dd8bc9c2e33 Mon Sep 17 00:00:00 2001 From: Eugene Schava Date: Sat, 25 Nov 2017 22:08:58 +0200 Subject: [PATCH] SP3S support (#117) --- broadlink/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/broadlink/__init__.py b/broadlink/__init__.py index f17eabb..eb945a7 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