{"action":"opened","issue":{"url":"https://api.github.com/repos/upsert/lutron-caseta-pro/issues/6","repository_url":"https://api.github.com/repos/upsert/lutron-caseta-pro","labels_url":"https://api.github.com/repos/upsert/lutron-caseta-pro/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/upsert/lutron-caseta-pro/issues/6/comments","events_url":"https://api.github.com/repos/upsert/lutron-caseta-pro/issues/6/events","html_url":"https://github.com/upsert/lutron-caseta-pro/issues/6","id":314853824,"number":6,"title":"Lutron Occupancy Sensor Not Detected","user":{"login":"czoog","id":11874551,"avatar_url":"https://avatars0.githubusercontent.com/u/11874551?v=4","gravatar_id":"","url":"https://api.github.com/users/czoog","html_url":"https://github.com/czoog","followers_url":"https://api.github.com/users/czoog/followers","following_url":"https://api.github.com/users/czoog/following{/other_user}","gists_url":"https://api.github.com/users/czoog/gists{/gist_id}","starred_url":"https://api.github.com/users/czoog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czoog/subscriptions","organizations_url":"https://api.github.com/users/czoog/orgs","repos_url":"https://api.github.com/users/czoog/repos","events_url":"https://api.github.com/users/czoog/events{/privacy}","received_events_url":"https://api.github.com/users/czoog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T23:36:22Z","updated_at":"2018-04-16T23:36:22Z","closed_at":null,"author_association":"NONE","body":"Hi Upsert,\r\n\r\nI am not sure if this is a true issue yet, but I thought I would log it anyway.  I just added a  a ceiling mount occupancy sensor (Lutron LRF2-OCR2B-P-WH) to my radioRA 2 Select main repeater.  Currently that is ONLY thing connected to the system.  I have nothing else , no switches, nothing but the sensor, and perhaps that is the issue (i am still waiting for my switches to arrive).  The sensor shows up in the app and is assign to a room, but it is NOT set to control anything yet, obviously.\r\n\r\nMy debug logs show that the component sees the bridge and attempts to parse the devices on that bridge, but comes up with none (see log snippet).  The integration report shows the sensor as ID 2 and has a name and an area, but it does not have any \"buttons\" which i think is what is causing the issue. casetify.py seems to need to have the words \"buttons\" in the if else statement that identify the bridge, light/switchs, and remote.  Might simply need a catch for the occupancy sensors, which don't see to have buttons.  I've included my integration report as well, so you can see how the sensors are formatted.\r\n\r\nI'll report back once I have a switch or two connected.  Maybe buttons will show up!\r\n\r\nThanks again for this awesome component!\r\n\r\n[report.txt](https://github.com/upsert/lutron-caseta-pro/files/1917651/report.txt)\r\n\r\n[ha_log_snippet.txt](https://github.com/upsert/lutron-caseta-pro/files/1917649/ha_log_snippet.txt)\r\n"}}
{"actor":{"display_login":"czoog"}}