{"action":"created","issue":{"url":"https://api.github.com/repos/XKNX/xknx/issues/131","repository_url":"https://api.github.com/repos/XKNX/xknx","labels_url":"https://api.github.com/repos/XKNX/xknx/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/XKNX/xknx/issues/131/comments","events_url":"https://api.github.com/repos/XKNX/xknx/issues/131/events","html_url":"https://github.com/XKNX/xknx/pull/131","id":351802638,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzAxNjA5","number":131,"title":"check if xknx object is available before accessing it.","user":{"login":"FireFrei","id":12660103,"node_id":"MDQ6VXNlcjEyNjYwMTAz","avatar_url":"https://avatars3.githubusercontent.com/u/12660103?v=4","gravatar_id":"","url":"https://api.github.com/users/FireFrei","html_url":"https://github.com/FireFrei","followers_url":"https://api.github.com/users/FireFrei/followers","following_url":"https://api.github.com/users/FireFrei/following{/other_user}","gists_url":"https://api.github.com/users/FireFrei/gists{/gist_id}","starred_url":"https://api.github.com/users/FireFrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FireFrei/subscriptions","organizations_url":"https://api.github.com/users/FireFrei/orgs","repos_url":"https://api.github.com/users/FireFrei/repos","events_url":"https://api.github.com/users/FireFrei/events{/privacy}","received_events_url":"https://api.github.com/users/FireFrei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-18T08:24:28Z","updated_at":"2018-08-20T12:00:52Z","closed_at":"2018-08-19T10:25:08Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/XKNX/xknx/pulls/131","html_url":"https://github.com/XKNX/xknx/pull/131","diff_url":"https://github.com/XKNX/xknx/pull/131.diff","patch_url":"https://github.com/XKNX/xknx/pull/131.patch"},"body":"This should fix issue #94\r\n\r\nI actually don't know if this behaviour also exists in python. But the problem could be, that the function, where the xknx object is used, is already called by the base class during construction of the instance. so before the part of the constructor is reached where the xknx object is copied to the instance, the member function is already called (e.g. by the base class constructor).\r\n\r\na simple check if it already exists solves the problem (tested in my environment)  "},"comment":{"url":"https://api.github.com/repos/XKNX/xknx/issues/comments/414292137","html_url":"https://github.com/XKNX/xknx/pull/131#issuecomment-414292137","issue_url":"https://api.github.com/repos/XKNX/xknx/issues/131","id":414292137,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDI5MjEzNw==","user":{"login":"rnixx","id":246021,"node_id":"MDQ6VXNlcjI0NjAyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/246021?v=4","gravatar_id":"","url":"https://api.github.com/users/rnixx","html_url":"https://github.com/rnixx","followers_url":"https://api.github.com/users/rnixx/followers","following_url":"https://api.github.com/users/rnixx/following{/other_user}","gists_url":"https://api.github.com/users/rnixx/gists{/gist_id}","starred_url":"https://api.github.com/users/rnixx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnixx/subscriptions","organizations_url":"https://api.github.com/users/rnixx/orgs","repos_url":"https://api.github.com/users/rnixx/repos","events_url":"https://api.github.com/users/rnixx/events{/privacy}","received_events_url":"https://api.github.com/users/rnixx/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T12:00:52Z","updated_at":"2018-08-20T12:00:52Z","author_association":"CONTRIBUTOR","body":"@Julius2342 i bet it works ;)"}}
{"actor":{"display_login":"rnixx"}}