{"action":"created","issue":{"url":"https://api.github.com/repos/lazcad/homeassistant/issues/28","repository_url":"https://api.github.com/repos/lazcad/homeassistant","labels_url":"https://api.github.com/repos/lazcad/homeassistant/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/lazcad/homeassistant/issues/28/comments","events_url":"https://api.github.com/repos/lazcad/homeassistant/issues/28/events","html_url":"https://github.com/lazcad/homeassistant/issues/28","id":210311665,"number":28,"title":"AttributeError: 'NoneType' object has no attribute 'split","user":{"login":"rexii2300","id":6278392,"avatar_url":"https://avatars3.githubusercontent.com/u/6278392?v=3","gravatar_id":"","url":"https://api.github.com/users/rexii2300","html_url":"https://github.com/rexii2300","followers_url":"https://api.github.com/users/rexii2300/followers","following_url":"https://api.github.com/users/rexii2300/following{/other_user}","gists_url":"https://api.github.com/users/rexii2300/gists{/gist_id}","starred_url":"https://api.github.com/users/rexii2300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexii2300/subscriptions","organizations_url":"https://api.github.com/users/rexii2300/orgs","repos_url":"https://api.github.com/users/rexii2300/repos","events_url":"https://api.github.com/users/rexii2300/events{/privacy}","received_events_url":"https://api.github.com/users/rexii2300/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-26T11:37:21Z","updated_at":"2017-04-03T10:43:07Z","closed_at":null,"body":"HA running on Ubuntu Server LTS 16.04\r\n\r\nHA verified to work with clean install, history functionality works fine.\r\n\r\nwhen starting HA with xiaomi component i have the follow error:\r\n\r\n```\r\nException in thread Thread-11:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/threading.py\", line 914, in _bootstrap_inner\r\n    self.run()\r\n  File \"/usr/local/lib/python3.5/dist-packages/homeassistant/components/recorder/__init__.py\", line 238, in run\r\n    domain = split_entity_id(entity_id)[0]\r\n  File \"/usr/local/lib/python3.5/dist-packages/homeassistant/core.py\", line 66, in split_entity_id\r\n    return entity_id.split(\".\", 1)\r\nAttributeError: 'NoneType' object has no attribute 'split\r\n```\r\n\r\nwhen viewing history, there is no history. Current status is shown and updated correctly.\r\n\r\nI've tried HA direct install, docker install and also virtualenv install. All have this issue. \r\n\r\nI've deleted configuration.yaml and HA generated a new file. I've then added:\r\n\r\nxiaomi:\r\n  gateways:\r\n    - sid:\r\n      key: 96dkmix6oxxxxxx\r\n\r\nso it is a clean file. Still no luck. Deleting the home-assistant_v2.db file does not help either.\r\n\r\nRolling back to commit f8a47b15eb072e58d5c8347c6fa377ef2acf46f6 resolves this issue."},"comment":{"url":"https://api.github.com/repos/lazcad/homeassistant/issues/comments/291108291","html_url":"https://github.com/lazcad/homeassistant/issues/28#issuecomment-291108291","issue_url":"https://api.github.com/repos/lazcad/homeassistant/issues/28","id":291108291,"user":{"login":"Danielhiversen","id":650502,"avatar_url":"https://avatars3.githubusercontent.com/u/650502?v=3","gravatar_id":"","url":"https://api.github.com/users/Danielhiversen","html_url":"https://github.com/Danielhiversen","followers_url":"https://api.github.com/users/Danielhiversen/followers","following_url":"https://api.github.com/users/Danielhiversen/following{/other_user}","gists_url":"https://api.github.com/users/Danielhiversen/gists{/gist_id}","starred_url":"https://api.github.com/users/Danielhiversen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danielhiversen/subscriptions","organizations_url":"https://api.github.com/users/Danielhiversen/orgs","repos_url":"https://api.github.com/users/Danielhiversen/repos","events_url":"https://api.github.com/users/Danielhiversen/events{/privacy}","received_events_url":"https://api.github.com/users/Danielhiversen/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T10:43:07Z","updated_at":"2017-04-03T10:43:07Z","body":"@rexii2300 @mindigmarton :\r\nCould you try this fix:\r\nhttps://github.com/Danielhiversen/homeassistant/pull/4/files"}}
{"actor":{"display_login":"Danielhiversen"}}