{"action":"reopened","issue":{"url":"https://api.github.com/repos/JoshuaMulliken/ha-wyzeapi/issues/18","repository_url":"https://api.github.com/repos/JoshuaMulliken/ha-wyzeapi","labels_url":"https://api.github.com/repos/JoshuaMulliken/ha-wyzeapi/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/JoshuaMulliken/ha-wyzeapi/issues/18/comments","events_url":"https://api.github.com/repos/JoshuaMulliken/ha-wyzeapi/issues/18/events","html_url":"https://github.com/JoshuaMulliken/ha-wyzeapi/issues/18","id":543457153,"node_id":"MDU6SXNzdWU1NDM0NTcxNTM=","number":18,"title":"Switch: AttributeError: 'WyzeApi' attribute issues","user":{"login":"kprestel","id":14278318,"node_id":"MDQ6VXNlcjE0Mjc4MzE4","avatar_url":"https://avatars1.githubusercontent.com/u/14278318?v=4","gravatar_id":"","url":"https://api.github.com/users/kprestel","html_url":"https://github.com/kprestel","followers_url":"https://api.github.com/users/kprestel/followers","following_url":"https://api.github.com/users/kprestel/following{/other_user}","gists_url":"https://api.github.com/users/kprestel/gists{/gist_id}","starred_url":"https://api.github.com/users/kprestel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kprestel/subscriptions","organizations_url":"https://api.github.com/users/kprestel/orgs","repos_url":"https://api.github.com/users/kprestel/repos","events_url":"https://api.github.com/users/kprestel/events{/privacy}","received_events_url":"https://api.github.com/users/kprestel/received_events","type":"User","site_admin":false},"labels":[{"id":1728847665,"node_id":"MDU6TGFiZWwxNzI4ODQ3NjY1","url":"https://api.github.com/repos/JoshuaMulliken/ha-wyzeapi/labels/bug","name":"bug","color":"d73a4a","default":true,"description":"Something isn't working"}],"state":"open","locked":false,"assignee":{"login":"JoshuaMulliken","id":36283247,"node_id":"MDQ6VXNlcjM2MjgzMjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/36283247?v=4","gravatar_id":"","url":"https://api.github.com/users/JoshuaMulliken","html_url":"https://github.com/JoshuaMulliken","followers_url":"https://api.github.com/users/JoshuaMulliken/followers","following_url":"https://api.github.com/users/JoshuaMulliken/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaMulliken/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaMulliken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaMulliken/subscriptions","organizations_url":"https://api.github.com/users/JoshuaMulliken/orgs","repos_url":"https://api.github.com/users/JoshuaMulliken/repos","events_url":"https://api.github.com/users/JoshuaMulliken/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaMulliken/received_events","type":"User","site_admin":false},"assignees":[{"login":"JoshuaMulliken","id":36283247,"node_id":"MDQ6VXNlcjM2MjgzMjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/36283247?v=4","gravatar_id":"","url":"https://api.github.com/users/JoshuaMulliken","html_url":"https://github.com/JoshuaMulliken","followers_url":"https://api.github.com/users/JoshuaMulliken/followers","following_url":"https://api.github.com/users/JoshuaMulliken/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaMulliken/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaMulliken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaMulliken/subscriptions","organizations_url":"https://api.github.com/users/JoshuaMulliken/orgs","repos_url":"https://api.github.com/users/JoshuaMulliken/repos","events_url":"https://api.github.com/users/JoshuaMulliken/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaMulliken/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2019-12-29T16:02:46Z","updated_at":"2019-12-31T15:08:44Z","closed_at":null,"author_association":"NONE","body":"Traceback (most recent call last):\r\n  File \"/usr/src/homeassistant/homeassistant/helpers/entity.py\", line 281, in async_update_ha_state\r\n    await self.async_device_update()\r\n  File \"/usr/src/homeassistant/homeassistant/helpers/entity.py\", line 461, in async_device_update\r\n    await self.hass.async_add_executor_job(self.update)\r\n  File \"/usr/local/lib/python3.7/concurrent/futures/thread.py\", line 57, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/config/custom_components/wyzeapi/switch.py\", line 83, in update\r\n    self._switch.update()\r\n  File \"/config/custom_components/wyzeapi/wyzeapi/wyzeapi_switch.py\", line 73, in update\r\n    \"device_model\": self._api._device_model,\r\nAttributeError: 'WyzeApi' object has no attribute '_device_model'\r\n\r\nUsing config from the `README`"}}
{"actor":{"display_login":"JoshuaMulliken"}}