{"action":"created","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/896","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/896/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/896/events","html_url":"https://github.com/balloob/home-assistant/issues/896","id":126643604,"number":896,"title":"Add Hue Tap to HA hue component","user":{"login":"pavoni","id":4487313,"avatar_url":"https://avatars.githubusercontent.com/u/4487313?v=3","gravatar_id":"","url":"https://api.github.com/users/pavoni","html_url":"https://github.com/pavoni","followers_url":"https://api.github.com/users/pavoni/followers","following_url":"https://api.github.com/users/pavoni/following{/other_user}","gists_url":"https://api.github.com/users/pavoni/gists{/gist_id}","starred_url":"https://api.github.com/users/pavoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavoni/subscriptions","organizations_url":"https://api.github.com/users/pavoni/orgs","repos_url":"https://api.github.com/users/pavoni/repos","events_url":"https://api.github.com/users/pavoni/events{/privacy}","received_events_url":"https://api.github.com/users/pavoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-14T12:16:32Z","updated_at":"2016-01-14T20:59:03Z","closed_at":null,"body":"It may be possible to add Hue Tap as a sensor / switch to HA.\r\nhttp://www2.meethue.com/en-us/productdetail/philips-hue-tap-switch\r\n\r\nCould be useful in triggering scenes etc.\r\n\r\nA hint on how to do it here...\r\n\r\nhttps://www.reddit.com/r/Hue/comments/2c7dpv/api_call_for_hue_tap/"},"comment":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/comments/171777972","html_url":"https://github.com/balloob/home-assistant/issues/896#issuecomment-171777972","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/896","id":171777972,"user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T20:59:03Z","updated_at":"2016-01-14T20:59:03Z","body":"This story is captured in the [HA pivotal tracker](https://www.pivotaltracker.com/story/show/104972276).\r\n\r\nThere is even a [sensor platform by @JTimNolan](https://github.com/JTimNolan/home-assistant/blob/hue-tap-dev/homeassistant/components/sensor/hue.py). It's not read for prime, the Hue platform should be broken up in pieces for this just like Nest or Ecobee.\r\n\r\nBut yes, it would probably boil down to polling the buttons and fire an event when pressed. The question is then, do we rather have a 5 second delay after a button press or no support at all?\r\n\r\nI don't think a 5 second delay would be that bad, the Hue lights would respond right away but the other actions like changing tv channel could take some time.\r\n\r\nA 5 second delay would however depend on [custom intervals per platform](https://www.pivotaltracker.com/story/show/103278460)\r\n"}}