{"action":"closed","issue":{"url":"https://api.github.com/repos/Isaksson/node-red-contrib-unifi/issues/7","repository_url":"https://api.github.com/repos/Isaksson/node-red-contrib-unifi","labels_url":"https://api.github.com/repos/Isaksson/node-red-contrib-unifi/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Isaksson/node-red-contrib-unifi/issues/7/comments","events_url":"https://api.github.com/repos/Isaksson/node-red-contrib-unifi/issues/7/events","html_url":"https://github.com/Isaksson/node-red-contrib-unifi/issues/7","id":327339803,"node_id":"MDU6SXNzdWUzMjczMzk4MDM=","number":7,"title":"Set site name from another input","user":{"login":"Isaksson","id":4119080,"node_id":"MDQ6VXNlcjQxMTkwODA=","avatar_url":"https://avatars2.githubusercontent.com/u/4119080?v=4","gravatar_id":"","url":"https://api.github.com/users/Isaksson","html_url":"https://github.com/Isaksson","followers_url":"https://api.github.com/users/Isaksson/followers","following_url":"https://api.github.com/users/Isaksson/following{/other_user}","gists_url":"https://api.github.com/users/Isaksson/gists{/gist_id}","starred_url":"https://api.github.com/users/Isaksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isaksson/subscriptions","organizations_url":"https://api.github.com/users/Isaksson/orgs","repos_url":"https://api.github.com/users/Isaksson/repos","events_url":"https://api.github.com/users/Isaksson/events{/privacy}","received_events_url":"https://api.github.com/users/Isaksson/received_events","type":"User","site_admin":false},"labels":[{"id":592683473,"node_id":"MDU6TGFiZWw1OTI2ODM0NzM=","url":"https://api.github.com/repos/Isaksson/node-red-contrib-unifi/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"Isaksson","id":4119080,"node_id":"MDQ6VXNlcjQxMTkwODA=","avatar_url":"https://avatars2.githubusercontent.com/u/4119080?v=4","gravatar_id":"","url":"https://api.github.com/users/Isaksson","html_url":"https://github.com/Isaksson","followers_url":"https://api.github.com/users/Isaksson/followers","following_url":"https://api.github.com/users/Isaksson/following{/other_user}","gists_url":"https://api.github.com/users/Isaksson/gists{/gist_id}","starred_url":"https://api.github.com/users/Isaksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isaksson/subscriptions","organizations_url":"https://api.github.com/users/Isaksson/orgs","repos_url":"https://api.github.com/users/Isaksson/repos","events_url":"https://api.github.com/users/Isaksson/events{/privacy}","received_events_url":"https://api.github.com/users/Isaksson/received_events","type":"User","site_admin":false},"assignees":[{"login":"Isaksson","id":4119080,"node_id":"MDQ6VXNlcjQxMTkwODA=","avatar_url":"https://avatars2.githubusercontent.com/u/4119080?v=4","gravatar_id":"","url":"https://api.github.com/users/Isaksson","html_url":"https://github.com/Isaksson","followers_url":"https://api.github.com/users/Isaksson/followers","following_url":"https://api.github.com/users/Isaksson/following{/other_user}","gists_url":"https://api.github.com/users/Isaksson/gists{/gist_id}","starred_url":"https://api.github.com/users/Isaksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isaksson/subscriptions","organizations_url":"https://api.github.com/users/Isaksson/orgs","repos_url":"https://api.github.com/users/Isaksson/repos","events_url":"https://api.github.com/users/Isaksson/events{/privacy}","received_events_url":"https://api.github.com/users/Isaksson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-05-29T14:13:54Z","updated_at":"2018-06-05T06:28:08Z","closed_at":"2018-06-05T06:28:08Z","author_association":"OWNER","body":"I would like to set site name from another input as calling command from function, I'm getting the same error NoSiteContext. \r\n![image](https://user-images.githubusercontent.com/6381468/40250329-3cb7fc1c-5ad6-11e8-9349-c3d2c4839fda.png)\r\nI even tried to add  this to unifi.js but still no luck. \r\n```\r\n if (msg.payload.site != null) {\r\n       site = msg.payload.site;\r\n}\r\n```"}}
{"actor":{"display_login":"Isaksson"}}