{"action":"created","issue":{"url":"https://api.github.com/repos/Yoda-x/ha-zha-new/issues/50","repository_url":"https://api.github.com/repos/Yoda-x/ha-zha-new","labels_url":"https://api.github.com/repos/Yoda-x/ha-zha-new/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Yoda-x/ha-zha-new/issues/50/comments","events_url":"https://api.github.com/repos/Yoda-x/ha-zha-new/issues/50/events","html_url":"https://github.com/Yoda-x/ha-zha-new/issues/50","id":360861916,"node_id":"MDU6SXNzdWUzNjA4NjE5MTY=","number":50,"title":"Can't add xiaomi aqara motion sensor","user":{"login":"bakazm","id":22861992,"node_id":"MDQ6VXNlcjIyODYxOTky","avatar_url":"https://avatars1.githubusercontent.com/u/22861992?v=4","gravatar_id":"","url":"https://api.github.com/users/bakazm","html_url":"https://github.com/bakazm","followers_url":"https://api.github.com/users/bakazm/followers","following_url":"https://api.github.com/users/bakazm/following{/other_user}","gists_url":"https://api.github.com/users/bakazm/gists{/gist_id}","starred_url":"https://api.github.com/users/bakazm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakazm/subscriptions","organizations_url":"https://api.github.com/users/bakazm/orgs","repos_url":"https://api.github.com/users/bakazm/repos","events_url":"https://api.github.com/users/bakazm/events{/privacy}","received_events_url":"https://api.github.com/users/bakazm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-17T13:09:39Z","updated_at":"2018-09-20T23:41:45Z","closed_at":null,"author_association":"NONE","body":"When I execute zha_new.permit, then hold down the sensor's pair button for three seconds, I get:\r\n\r\n> 018-09-17 07:00:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved\r\nTraceback (most recent call last):\r\n  File \"/config/custom_components/zha_new.py\", line 410, in async_device_initialized\r\n    self.custom_devices[device_model] = custom_module = get_custom_device_info(device_model)\r\n  File \"/config/custom_components/zha_new.py\", line 872, in get_custom_device_info\r\n    device_module = import_module(\"custom_components.device.\" + dev_func)\r\n  File \"/usr/local/lib/python3.6/importlib/__init__.py\", line 126, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 994, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 971, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 955, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n  File \"/config/custom_components/device/lumi_sensor_motion_aq2.py\", line 1, in <module>\r\n    lumi_sensor_magnet.py\r\nNameError: name 'lumi_sensor_magnet' is not defined\r\n2018-09-17 07:00:56 WARNING (MainThread) [bellows.zigbee.application] Unexpected message send notification"},"comment":{"url":"https://api.github.com/repos/Yoda-x/ha-zha-new/issues/comments/423368549","html_url":"https://github.com/Yoda-x/ha-zha-new/issues/50#issuecomment-423368549","issue_url":"https://api.github.com/repos/Yoda-x/ha-zha-new/issues/50","id":423368549,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzM2ODU0OQ==","user":{"login":"Yoda-x","id":34125458,"node_id":"MDQ6VXNlcjM0MTI1NDU4","avatar_url":"https://avatars3.githubusercontent.com/u/34125458?v=4","gravatar_id":"","url":"https://api.github.com/users/Yoda-x","html_url":"https://github.com/Yoda-x","followers_url":"https://api.github.com/users/Yoda-x/followers","following_url":"https://api.github.com/users/Yoda-x/following{/other_user}","gists_url":"https://api.github.com/users/Yoda-x/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoda-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoda-x/subscriptions","organizations_url":"https://api.github.com/users/Yoda-x/orgs","repos_url":"https://api.github.com/users/Yoda-x/repos","events_url":"https://api.github.com/users/Yoda-x/events{/privacy}","received_events_url":"https://api.github.com/users/Yoda-x/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T23:41:45Z","updated_at":"2018-09-20T23:41:45Z","author_association":"OWNER","body":"please get the newest preview, this may load the right bellows/zigpy out of the box. \r\nAnd the new code should do better during the device discovery.\r\nI do not recommend docker for testing. A venv is much easier to maintain. \r\nbtw. never saw this error "}}
{"actor":{"display_login":"Yoda-x"}}