Error while setting up platform switchmate
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
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 “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/switchmate/switch.py”, line 32, in setup_platform
add_entities([SwitchmateEntity(mac_addr, name, flip_on_off)], True)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/switchmate/switch.py”, line 41, in init
import switchmate
ModuleNotFoundError: No module named ‘switchmate’