{"action":"created","issue":{"url":"https://api.github.com/repos/watchforstock/evohome-client/issues/21","labels_url":"https://api.github.com/repos/watchforstock/evohome-client/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/watchforstock/evohome-client/issues/21/comments","events_url":"https://api.github.com/repos/watchforstock/evohome-client/issues/21/events","html_url":"https://github.com/watchforstock/evohome-client/issues/21","id":125304882,"number":21,"title":"homeassistant.components.thermostat: Error while setting up platform honeywell","user":{"login":"dels78","id":4769289,"avatar_url":"https://avatars.githubusercontent.com/u/4769289?v=3","gravatar_id":"","url":"https://api.github.com/users/dels78","html_url":"https://github.com/dels78","followers_url":"https://api.github.com/users/dels78/followers","following_url":"https://api.github.com/users/dels78/following{/other_user}","gists_url":"https://api.github.com/users/dels78/gists{/gist_id}","starred_url":"https://api.github.com/users/dels78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dels78/subscriptions","organizations_url":"https://api.github.com/users/dels78/orgs","repos_url":"https://api.github.com/users/dels78/repos","events_url":"https://api.github.com/users/dels78/events{/privacy}","received_events_url":"https://api.github.com/users/dels78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-07T01:54:43Z","updated_at":"2016-01-08T00:52:36Z","closed_at":null,"body":"Spoke with @rmkraus on gitter to debug, and he believes it may be related to an API change on the Honeywell part, can someone look at it please? Thanks!\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py\", line 145, in _setup_platform\r\n    self.hass, platform_config, self.add_entities, discovery_info)\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/thermostat/honeywell.py\", line 35, in setup_platform\r\n    for i, zone in enumerate(zones):\r\n  File \"/home/pi/.homeassistant/lib/evohomeclient/__init__.py\", line 73, in temperatures\r\n    self._populate_full_data(force_refresh)\r\n  File \"/home/pi/.homeassistant/lib/evohomeclient/__init__.py\", line 33, in _populate_full_data\r\n    userId = self.user_data['userInfo']['userID']\r\nTypeError: list indices must be integers, not str"},"comment":{"url":"https://api.github.com/repos/watchforstock/evohome-client/issues/comments/169854354","html_url":"https://github.com/watchforstock/evohome-client/issues/21#issuecomment-169854354","issue_url":"https://api.github.com/repos/watchforstock/evohome-client/issues/21","id":169854354,"user":{"login":"dels78","id":4769289,"avatar_url":"https://avatars.githubusercontent.com/u/4769289?v=3","gravatar_id":"","url":"https://api.github.com/users/dels78","html_url":"https://github.com/dels78","followers_url":"https://api.github.com/users/dels78/followers","following_url":"https://api.github.com/users/dels78/following{/other_user}","gists_url":"https://api.github.com/users/dels78/gists{/gist_id}","starred_url":"https://api.github.com/users/dels78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dels78/subscriptions","organizations_url":"https://api.github.com/users/dels78/orgs","repos_url":"https://api.github.com/users/dels78/repos","events_url":"https://api.github.com/users/dels78/events{/privacy}","received_events_url":"https://api.github.com/users/dels78/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T00:52:35Z","updated_at":"2016-01-08T00:52:35Z","body":"16-01-07 19:28:46 homeassistant.components.thermostat: Error while setting up platform honeywell\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py\", line 145, in _setup_platform\r\n    self.hass, platform_config, self.add_entities, discovery_info)\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/thermostat/honeywell.py\", line 35, in setup_platform\r\n    for i, zone in enumerate(zones):\r\n  File \"/home/pi/.homeassistant/lib/evohomeclient/__init__.py\", line 74, in temperatures\r\n    self._populate_full_data(force_refresh)\r\n  File \"/home/pi/.homeassistant/lib/evohomeclient/__init__.py\", line 34, in _populate_full_data\r\n    userId = self.user_data['userInfo']['userID']\r\nTypeError: list indices must be integers, not str\r\n\r\nsame thing, I also tried putting it right after the if statement that populates it and it stops at the same time.\r\n\r\nA couple things I noticed while going through that though is there are 2 evohomeclient folders that get created.\r\n\r\nll | grep evo\r\ndrwxr-xr-x 3 pi pi  4096 Jan  7 19:37 evohomeclient\r\ndrwxr-xr-x 2 pi pi  4096 Jan  7 19:37 evohomeclient-0.2.4.dist-info\r\ndrwxr-xr-x 3 pi pi  4096 Jan  7 19:37 evohomeclient2\r\n\r\nthe first one only has 3 files:\r\nll\r\ntotal 20\r\n-rw-r--r-- 1 pi pi 8297 Jan  7 19:37 __init__.py\r\ndrwxr-xr-x 2 pi pi 4096 Jan  7 19:37 __pycache__\r\n-rw-r--r-- 1 pi pi  142 Jan  7 19:37 test.py\r\n\r\nthe second has that:\r\n"}}