Skip to content

Commit

Permalink
Add support for switch model HPSA11CWB
Browse files Browse the repository at this point in the history
add support for switch model HPSA11CWB
  • Loading branch information
jdeath authored Nov 24, 2022
1 parent 10a5d3a commit 0e9c490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/hubspace/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def __init__(self, hs, friendlyname,debug) -> None:

# https://www.homedepot.com/p/Defiant-15-Amp-120-Volt-Smart-Hubspace-Outdoor-Single-Outlet-Wi-Fi-Bluetooth-Plug-HPPA51CWB/316341409
# https://www.homedepot.com/p/Defiant-15-Amp-120-Volt-Smart-Hubspace-Wi-Fi-Bluetooth-Plug-with-1-Outlet-HPPA11AWB/315636834
if self._model == 'HPPA51CWB' or self._model == 'HPPA11AWBA023':
if self._model == 'HPPA51CWB' or self._model == 'HPPA11AWBA023' or self._model == 'HPSA11CWB':
self._supported_color_modes.extend([ColorMode.ONOFF])
#https://www.homedepot.com/p/EcoSmart-16-ft-Smart-Hubspace-RGB-and-Tunable-White-Tape-Light-Works-with-Amazon-Alexa-and-Google-Assistant-AL-TP-RGBCW-60/314680856
if self._model == 'AL-TP-RGBCW-60-2116, AL-TP-RGBCW-60-2232' or self._model == 'HPKA315CWB' or self._model =='HPPA52CWBA023':
Expand Down Expand Up @@ -651,4 +651,4 @@ def update(self) -> None:
self._volts = self._hs.getState(self._childId,'output-voltage-switch')

if self._debug:
self._debugInfo = self._hs.getDebugInfo(self._childId)
self._debugInfo = self._hs.getDebugInfo(self._childId)

0 comments on commit 0e9c490

Please sign in to comment.