I need to sove this problem ,please hlep me

i have add switch in configeration document but the switch can’t turn on in home page

follow are log:
The following errors have been logged this session:

2017-06-18 04:23:51 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/selector_events.py”, line 582, in _read_ready
data = self._sock.recv(self.max_size)
OSError: [Errno 22] Invalid argument

Please post the relevant entry in your config file