Traceback (most recent call last):


 "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 153, in _async_setup_platform

entity_platform.schedule_add_entities, discovery_info


 "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup

value = future.result()


 "/usr/lib/python3.4/asyncio/futures.py", line 277, in result

raise self._exception


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/switch/wake_on_lan.py", line 43, in setup_platform

add_devices([WOLSwitch(hass, name, host, mac_address, off_action)])


 "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/switch/wake_on_lan.py", line 59, in __init__

self.update()


 "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/switch/wake_on_lan.py", line 94, in update

status = sp.call(ping_cmd, stdout=sp.DEVNULL)


 "/usr/lib/python3.4/subprocess.py", line 537, in call

with Popen(*popenargs, **kwargs) as p:


 "/usr/lib/python3.4/subprocess.py", line 859, in __init__

restore_signals, start_new_session)


 "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child

restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert 'NoneType' object to str implicitly

Traceback (most recent call last):


 "GLScatterPlotItem.py", line 46, in <module>

w.addItem(sp1)


 "/home/pi/Desktop/pyqtgraph/pyqtgraph/opengl/GLViewWidget.py", line 62, in addItem

self.checkOpenGLVersion('Error while adding item %s to GLViewWidget.' % str(item))

**
 "/home/pi/Desktop/pyqtgraph/pyqtgraph/opengl/GLViewWidget.py", line 428, in checkOpenGLVersion

if int(ver.split('.')[0]) < 2:
TypeError: a bytes-like object is required, not 'str'**
