As soon as i add the Config for the Fan(Purifier), i get following error:
2017-08-28 16:55:29 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/remote.py", line 132, in default
return json.JSONEncoder.default(self, o)
File "/usr/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <OperationMode.Auto: 'auto'> is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/remote.py", line 138, in default
for child_obj in o]
TypeError: 'OperationMode' object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 422, in start
resp = yield from self._request_handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 306, in _handle
resp = yield from handler(request)
File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
res = yield from res
File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
res = yield from res
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
return (yield from handler(request))
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 424, in handle
result = yield from result
File "/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
res = yield from res
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 388, in handle
yield from self._writer_task
File "/usr/lib/python3.5/asyncio/futures.py", line 363, in __iter__
return self.result() # May raise too.
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 238, in _writer
yield from self.wsock.send_json(message, dumps=JSON_DUMP)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_ws.py", line 188, in send_json
return self.send_str(dumps(data))
File "/usr/lib/python3.5/json/__init__.py", line 237, in dumps
**kw).encode(obj)
File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
return _iterencode(o, 0)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/remote.py", line 141, in default
return json.JSONEncoder.default(self, o)
File "/usr/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <OperationMode.Auto: 'auto'> is not JSON serializable