{"action":"created","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/1137","repository_url":"https://api.github.com/repos/balloob/home-assistant","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/1137/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1137/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/1137/events","html_url":"https://github.com/balloob/home-assistant/issues/1137","id":131753376,"number":1137,"title":"mysensors V_PERCENTAGE v1.4 attribute error","user":{"login":"sander76","id":1688712,"avatar_url":"https://avatars.githubusercontent.com/u/1688712?v=3","gravatar_id":"","url":"https://api.github.com/users/sander76","html_url":"https://github.com/sander76","followers_url":"https://api.github.com/users/sander76/followers","following_url":"https://api.github.com/users/sander76/following{/other_user}","gists_url":"https://api.github.com/users/sander76/gists{/gist_id}","starred_url":"https://api.github.com/users/sander76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sander76/subscriptions","organizations_url":"https://api.github.com/users/sander76/orgs","repos_url":"https://api.github.com/users/sander76/repos","events_url":"https://api.github.com/users/sander76/events{/privacy}","received_events_url":"https://api.github.com/users/sander76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-05T20:59:13Z","updated_at":"2016-02-06T08:40:45Z","closed_at":null,"body":"mysensors is trying to set the ```v_percentage``` attribute which is raising an attribute error. I am using mysensors v1.4 which doesn't have the ```v_percentage``` attribute. So I guess this is the cause of the error. (not sure though)\r\n\r\n\r\nError log:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/threading.py\", line 923, in _bootstrap_inner\r\n    self.run()\r\n  File \"/home/pi/.homeassistant/lib/mysensors/mysensors.py\", line 312, in run\r\n    response = self.handle_queue()\r\n  File \"/home/pi/.homeassistant/lib/mysensors/mysensors.py\", line 222, in handle_queue\r\n    reply = func(*args, **kwargs)\r\n  File \"/home/pi/.homeassistant/lib/mysensors/mysensors.py\", line 110, in logic\r\n    self._handle_set(msg)\r\n  File \"/home/pi/.homeassistant/lib/mysensors/mysensors.py\", line 63, in _handle_set\r\n    self.alert(msg.node_id)\r\n  File \"/home/pi/.homeassistant/lib/mysensors/mysensors.py\", line 175, in alert\r\n    self.event_callback(\"sensor_update\", nid)\r\n  File \"/usr/local/lib/python3.5/site-packages/homeassistant/components/mysensors.py\", line 200, in node_update\r\n    callback(self, node_id)\r\n  File \"/usr/local/lib/python3.5/site-packages/homeassistant/components/mysensors.py\", line 139, in mysensors_callback\r\n    add_devices([devices[key]])\r\n  File \"/usr/local/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py\", line 82, in add_entities\r\n    entity.update_ha_state()\r\n  File \"/usr/local/lib/python3.5/site-packages/homeassistant/helpers/entity.py\", line 136, in update_ha_state\r\n    self.unit_of_measurement is not None:\r\n  File \"/usr/local/lib/python3.5/site-packages/homeassistant/components/sensor/mysensors.py\", line 155, in unit_of_measurement\r\n    self.gateway.const.SetReq.V_PERCENTAGE: '%',\r\n  File \"/usr/local/lib/python3.5/enum.py\", line 268, in __getattr__\r\n    raise AttributeError(name) from None\r\nAttributeError: V_PERCENTAGE\r\n```"},"comment":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/comments/180720405","html_url":"https://github.com/balloob/home-assistant/issues/1137#issuecomment-180720405","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1137","id":180720405,"user":{"login":"sander76","id":1688712,"avatar_url":"https://avatars.githubusercontent.com/u/1688712?v=3","gravatar_id":"","url":"https://api.github.com/users/sander76","html_url":"https://github.com/sander76","followers_url":"https://api.github.com/users/sander76/followers","following_url":"https://api.github.com/users/sander76/following{/other_user}","gists_url":"https://api.github.com/users/sander76/gists{/gist_id}","starred_url":"https://api.github.com/users/sander76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sander76/subscriptions","organizations_url":"https://api.github.com/users/sander76/orgs","repos_url":"https://api.github.com/users/sander76/repos","events_url":"https://api.github.com/users/sander76/events{/privacy}","received_events_url":"https://api.github.com/users/sander76/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T08:40:45Z","updated_at":"2016-02-06T08:40:45Z","body":"No problem. Great work !"}}