{"action":"opened","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/31","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/31/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/31/events","html_url":"https://github.com/balloob/home-assistant/issues/31","id":57109667,"number":31,"title":"Error in recorder.py","user":{"login":"wdsl","id":2951296,"avatar_url":"https://avatars.githubusercontent.com/u/2951296?v=3","gravatar_id":"","url":"https://api.github.com/users/wdsl","html_url":"https://github.com/wdsl","followers_url":"https://api.github.com/users/wdsl/followers","following_url":"https://api.github.com/users/wdsl/following{/other_user}","gists_url":"https://api.github.com/users/wdsl/gists{/gist_id}","starred_url":"https://api.github.com/users/wdsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdsl/subscriptions","organizations_url":"https://api.github.com/users/wdsl/orgs","repos_url":"https://api.github.com/users/wdsl/repos","events_url":"https://api.github.com/users/wdsl/events{/privacy}","received_events_url":"https://api.github.com/users/wdsl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-09T23:57:59Z","updated_at":"2015-02-09T23:57:59Z","closed_at":null,"body":"Hello,\r\n\r\ni get an error:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/socketserver.py\", line 609, in process_request_thread\r\n    self.finish_request(request, client_address)\r\n  File \"/usr/lib/python3.4/socketserver.py\", line 344, in finish_request\r\n    self.RequestHandlerClass(request, client_address, self)\r\n  File \"/usr/lib/python3.4/socketserver.py\", line 665, in __init__\r\n    self.handle()\r\n  File \"/usr/lib/python3.4/http/server.py\", line 398, in handle\r\n    self.handle_one_request()\r\n  File \"/usr/lib/python3.4/http/server.py\", line 386, in handle_one_request\r\n    method()\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/http/__init__.py\", line 298, in do_GET\r\n    self._handle_request('GET')\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/http/__init__.py\", line 282, in _handle_request\r\n    handle_request_method(self, path_match, data)\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/history.py\", line 128, in _api_history_period\r\n    state_changes_during_period(start_time, entity_id=entity_id).values())\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/history.py\", line 54, in state_changes_during_period\r\n    for state in get_states(start_time):\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/history.py\", line 68, in get_states\r\n    run = recorder.run_information(point_in_time)\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/recorder.py\", line 92, in run_information\r\n    return RecorderRun(run) if run else None\r\n  File \"/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/recorder.py\", line 114, in __init__\r\n    self.end = datetime.fromtimestamp(row[2])\r\nTypeError: an integer is required (got type NoneType)"}}