{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9538","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9538/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9538/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9538/events","html_url":"https://github.com/home-assistant/home-assistant/issues/9538","id":259882603,"number":9538,"title":"MQTT Lights not hold state after some time","user":{"login":"Nayar","id":454815,"avatar_url":"https://avatars2.githubusercontent.com/u/454815?v=4","gravatar_id":"","url":"https://api.github.com/users/Nayar","html_url":"https://github.com/Nayar","followers_url":"https://api.github.com/users/Nayar/followers","following_url":"https://api.github.com/users/Nayar/following{/other_user}","gists_url":"https://api.github.com/users/Nayar/gists{/gist_id}","starred_url":"https://api.github.com/users/Nayar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nayar/subscriptions","organizations_url":"https://api.github.com/users/Nayar/orgs","repos_url":"https://api.github.com/users/Nayar/repos","events_url":"https://api.github.com/users/Nayar/events{/privacy}","received_events_url":"https://api.github.com/users/Nayar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-22T17:22:22Z","updated_at":"2017-09-23T06:42:51Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release (`hass --version`):** 0.53.0\r\n\r\n\r\n**Python release (`python3 --version`):** Python 3.5.2\r\n\r\n\r\n**Component/platform:** Ubuntu 16.04\r\n\r\n\r\n\r\n**Description of problem:**\r\nWhen HASS has been running for a while, I press on the toggle, my physical light turns on but the state doesn't get registered. I cannot thus turn off the light off from HASS\r\n\r\n![screen shot 2017-09-22 at 21 18 50](https://user-images.githubusercontent.com/454815/30756415-ad639e64-9fdb-11e7-9c3b-5c7427306b0a.png)\r\n\r\n\r\n\r\n**Expected:**\r\nThe bulb turns yellow allowing me to turn it off.\r\n\r\nWhen I restart my HASS, everything seems to work fine\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\nlight kitchen:\r\n  - platform: mqtt\r\n    name: \"Kitchen Light\"\r\n    command_topic: \"cmnd/SONOFF_20AF2D/POWER\"\r\n    payload_off: \"OFF\"\r\n    payload_on: \"ON\"\r\n    state_topic: \"stat/SONOFF_20AF2D/POWER\"\r\n```\r\n\r\n1. \r\n2. \r\n3. \r\n\r\n**Traceback (if applicable):**\r\n```bash\r\n\r\n```\r\n\r\n**Additional info:**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/331615043","html_url":"https://github.com/home-assistant/home-assistant/issues/9538#issuecomment-331615043","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/9538","id":331615043,"user":{"login":"Nayar","id":454815,"avatar_url":"https://avatars2.githubusercontent.com/u/454815?v=4","gravatar_id":"","url":"https://api.github.com/users/Nayar","html_url":"https://github.com/Nayar","followers_url":"https://api.github.com/users/Nayar/followers","following_url":"https://api.github.com/users/Nayar/following{/other_user}","gists_url":"https://api.github.com/users/Nayar/gists{/gist_id}","starred_url":"https://api.github.com/users/Nayar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nayar/subscriptions","organizations_url":"https://api.github.com/users/Nayar/orgs","repos_url":"https://api.github.com/users/Nayar/repos","events_url":"https://api.github.com/users/Nayar/events{/privacy}","received_events_url":"https://api.github.com/users/Nayar/received_events","type":"User","site_admin":false},"created_at":"2017-09-23T06:42:51Z","updated_at":"2017-09-23T06:42:51Z","author_association":"NONE","body":"And this morning it didn't work. The feedbacks came on MQTT but it didn't get registered in HASS\r\n\r\n![screen shot 2017-09-23 at 10 40 08](https://user-images.githubusercontent.com/454815/30770852-b31eccf0-a04b-11e7-947e-9fdfd3cc3ebe.png)\r\n"}}
{"actor":{"display_login":"Nayar"}}