Is anyone using the digitalloggers component with the new Pro switch model? I get this in my log:
2018-05-23 10:26:30 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform digitalloggers
Traceback (most recent call last):
File "/home/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/lib/python3.6/site-packages/homeassistant/components/switch/digitalloggers.py", line 69, in setup_platform
for outlet in power_switch[0:]
File "/home/homeassistant/lib/python3.6/site-packages/dlipower/dlipower.py", line 298, in __getitem__
status = self.statuslist()[index.start:index.stop]
TypeError: 'NoneType' object is not subscriptable
I’m guessing something in the API must be different enough that the dlipower library doesn’t support it.