{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/24121","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/24121/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/24121/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/24121/events","html_url":"https://github.com/home-assistant/home-assistant/issues/24121","id":448531860,"node_id":"MDU6SXNzdWU0NDg1MzE4NjA=","number":24121,"title":"SmartThings Unavailable status not detected by Home Assistant","user":{"login":"stealth658","id":9551905,"node_id":"MDQ6VXNlcjk1NTE5MDU=","avatar_url":"https://avatars0.githubusercontent.com/u/9551905?v=4","gravatar_id":"","url":"https://api.github.com/users/stealth658","html_url":"https://github.com/stealth658","followers_url":"https://api.github.com/users/stealth658/followers","following_url":"https://api.github.com/users/stealth658/following{/other_user}","gists_url":"https://api.github.com/users/stealth658/gists{/gist_id}","starred_url":"https://api.github.com/users/stealth658/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stealth658/subscriptions","organizations_url":"https://api.github.com/users/stealth658/orgs","repos_url":"https://api.github.com/users/stealth658/repos","events_url":"https://api.github.com/users/stealth658/events{/privacy}","received_events_url":"https://api.github.com/users/stealth658/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-26T05:56:24Z","updated_at":"2019-05-26T14:38:44Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release with the issue:**\r\n0.93.1\r\n\r\n\r\n**Last working Home Assistant release (if known):**\r\nN/A\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\nRaspbian\r\n\r\n**Component/platform:**\r\nSmartThings\r\n\r\n**Description of problem:**\r\nHome Assistant does not change the status accordingly when a device connected to SmartThings is disconnected or unavailable, such as if a smart bulb has been turned off by the light switch. It will retain the previous (usually on) status unless manually turned off in Home Assistant, and it will act as if the bulb is still available to be toggled.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```\r\nUsing SmartThings integration via front-end\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\nN/A\r\n```\r\n\r\n**Additional information:**\r\n![3F8C2605-55C8-4761-86EC-5C7467901971](https://user-images.githubusercontent.com/9551905/58378001-6718b480-7f59-11e9-9068-2ee80abde680.jpeg)\r\n![C2C3C07B-E7DD-45C0-BFFB-602BAD6AE5F1](https://user-images.githubusercontent.com/9551905/58378002-6718b480-7f59-11e9-8ee6-9964caa8d2ce.jpeg)"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/496005663","html_url":"https://github.com/home-assistant/home-assistant/issues/24121#issuecomment-496005663","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/24121","id":496005663,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NjAwNTY2Mw==","user":{"login":"andrewsayre","id":6730289,"node_id":"MDQ6VXNlcjY3MzAyODk=","avatar_url":"https://avatars1.githubusercontent.com/u/6730289?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewsayre","html_url":"https://github.com/andrewsayre","followers_url":"https://api.github.com/users/andrewsayre/followers","following_url":"https://api.github.com/users/andrewsayre/following{/other_user}","gists_url":"https://api.github.com/users/andrewsayre/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewsayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewsayre/subscriptions","organizations_url":"https://api.github.com/users/andrewsayre/orgs","repos_url":"https://api.github.com/users/andrewsayre/repos","events_url":"https://api.github.com/users/andrewsayre/events{/privacy}","received_events_url":"https://api.github.com/users/andrewsayre/received_events","type":"User","site_admin":false},"created_at":"2019-05-26T14:38:44Z","updated_at":"2019-05-26T14:38:44Z","author_association":"MEMBER","body":"This status comes from the ST API.  It does not indicate when devices are disconnected or unavailable and instead reports the last known state in the API.  Unfortunately it’s indistinguishable from functioning devices.  I had opened an ST issue and had received confirmation of this gap.  If you’re ok with it, I’ll open another issue with your images/use case."}}
{"actor":{"display_login":"andrewsayre"}}