{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17557","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17557/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17557/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17557/events","html_url":"https://github.com/home-assistant/home-assistant/issues/17557","id":371182152,"node_id":"MDU6SXNzdWUzNzExODIxNTI=","number":17557,"title":"Homekit Garage Door Cover doesn't work as expected","user":{"login":"wasp100","id":44239707,"node_id":"MDQ6VXNlcjQ0MjM5NzA3","avatar_url":"https://avatars0.githubusercontent.com/u/44239707?v=4","gravatar_id":"","url":"https://api.github.com/users/wasp100","html_url":"https://github.com/wasp100","followers_url":"https://api.github.com/users/wasp100/followers","following_url":"https://api.github.com/users/wasp100/following{/other_user}","gists_url":"https://api.github.com/users/wasp100/gists{/gist_id}","starred_url":"https://api.github.com/users/wasp100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wasp100/subscriptions","organizations_url":"https://api.github.com/users/wasp100/orgs","repos_url":"https://api.github.com/users/wasp100/repos","events_url":"https://api.github.com/users/wasp100/events{/privacy}","received_events_url":"https://api.github.com/users/wasp100/received_events","type":"User","site_admin":false},"labels":[{"id":840363345,"node_id":"MDU6TGFiZWw4NDAzNjMzNDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/component:%20homekit","name":"component: homekit","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"cdce8p","id":30130371,"node_id":"MDQ6VXNlcjMwMTMwMzcx","avatar_url":"https://avatars2.githubusercontent.com/u/30130371?v=4","gravatar_id":"","url":"https://api.github.com/users/cdce8p","html_url":"https://github.com/cdce8p","followers_url":"https://api.github.com/users/cdce8p/followers","following_url":"https://api.github.com/users/cdce8p/following{/other_user}","gists_url":"https://api.github.com/users/cdce8p/gists{/gist_id}","starred_url":"https://api.github.com/users/cdce8p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdce8p/subscriptions","organizations_url":"https://api.github.com/users/cdce8p/orgs","repos_url":"https://api.github.com/users/cdce8p/repos","events_url":"https://api.github.com/users/cdce8p/events{/privacy}","received_events_url":"https://api.github.com/users/cdce8p/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdce8p","id":30130371,"node_id":"MDQ6VXNlcjMwMTMwMzcx","avatar_url":"https://avatars2.githubusercontent.com/u/30130371?v=4","gravatar_id":"","url":"https://api.github.com/users/cdce8p","html_url":"https://github.com/cdce8p","followers_url":"https://api.github.com/users/cdce8p/followers","following_url":"https://api.github.com/users/cdce8p/following{/other_user}","gists_url":"https://api.github.com/users/cdce8p/gists{/gist_id}","starred_url":"https://api.github.com/users/cdce8p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdce8p/subscriptions","organizations_url":"https://api.github.com/users/cdce8p/orgs","repos_url":"https://api.github.com/users/cdce8p/repos","events_url":"https://api.github.com/users/cdce8p/events{/privacy}","received_events_url":"https://api.github.com/users/cdce8p/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-10-17T17:16:50Z","updated_at":"2018-10-18T22:43:50Z","closed_at":null,"author_association":"NONE","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n<!--\r\n- Frontend -> Developer tools -> Info\r\n- Or use this command: hass --version\r\n-->\r\n0.80.0\r\n\r\n**Last working Home Assistant release (if known):**\r\nHas not worked\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\n<!--\r\nPlease provide details about your environment.\r\n-->\r\nHassbian\r\n**Component/platform:**\r\n<!--\r\nPlease add the link to the documentation at https://www.home-assistant.io/components/ of the component/platform in question.\r\n-->\r\nHomekit - MQTT Cover (with device_class: Garage)\r\n\r\n**Description of problem:**\r\nThe MQTT cover does not work as expected when exposing the device to Homekit.\r\nLet me explain:\r\n1. HomeKit shows the device correctly as a garage door and changes states from open to closed when the door sensor (reed switch) is closed, and visa versa.\r\n2. If I ask Siri, or invoke the command from the Home App to open/close the garage door, it works.\r\n3. However, if the garage door is **closed**, and I issue a command from Siri to close the garage door, Siri states that the door is closing and I get a iOS notification that the Garage Door was opened (even though the door sensor is still closed), and the state in the Home app reports \"closing...\". \r\n4.  Shouldn't Homekit know that the door is closed, and therefore ignore the command?\r\n5. The same applies to setting **Scenes** in the Home App. I want to switch off the lights and ensure that the garage door is closed. When I invoke the Scene (Good Night), I have the same issue. This is my main worry and concern. This does not affect the light, which is set up as a light - mqtt_json in HA.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\ncover:\r\n  - platform: mqtt\r\n    name: \"Garage Door\"\r\n    state_topic: \"garage/door\"\r\n    command_topic: \"garage/door/set\"\r\n    payload_open: \"OPEN\"\r\n    payload_close: \"CLOSE\"\r\n    payload_stop: \"STOP\"\r\n    state_open: \"open\"\r\n    state_closed: \"closed\"\r\n    optimistic: false\r\n    retain: false\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n2018-10-17 19:10:14 DEBUG (Thread-14) [pyhap.hap_server] Request GET from address '('192.168.01.01', 60610)' for path '/characteristics?id=1013843656.11,1013843656.10,1013843656.9,704382379.12,704382379.11,704382379.10,704382379.9'.\r\n2018-10-17 19:10:14 INFO (Thread-14) [pyhap.hap_server] 192.168.01.01 - \"GET /characteristics?id=1013843656.11,1013843656.10,1013843656.9,704382379.12,704382379.11,704382379.10,704382379.9 HTTP/1.1\" 207 -\r\n2018-10-17 19:10:23 DEBUG (Thread-14) [pyhap.hap_server] Request GET from address '('192.168.01.01', 60610)' for path '/characteristics?id=1013843656.9'.\r\n2018-10-17 19:10:23 INFO (Thread-14) [pyhap.hap_server] 192.168.01.01 - \"GET /characteristics?id=1013843656.9 HTTP/1.1\" 207 -\r\n2018-10-17 19:10:29 DEBUG (Thread-14) [pyhap.hap_server] Request PUT from address '('192.168.01.01', 60610)' for path '/characteristics'.\r\n2018-10-17 19:10:29 DEBUG (Thread-14) [pyhap.characteristic] client_update_value: TargetDoorState to 1\r\n2018-10-17 19:10:29 DEBUG (Thread-14) [homeassistant.components.homekit.type_covers] cover.garage_door: Set state to 1\r\n2018-10-17 19:10:29 DEBUG (Thread-14) [pyhap.characteristic] set_value: CurrentDoorState to 2\r\n2018-10-17 19:10:30 INFO (Thread-14) [pyhap.hap_server] 192.168.01.01 - \"PUT /characteristics HTTP/1.1\" 207 -\r\n```\r\n\r\n**Additional information:**\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/431188620","html_url":"https://github.com/home-assistant/home-assistant/issues/17557#issuecomment-431188620","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/17557","id":431188620,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTE4ODYyMA==","user":{"login":"wasp100","id":44239707,"node_id":"MDQ6VXNlcjQ0MjM5NzA3","avatar_url":"https://avatars0.githubusercontent.com/u/44239707?v=4","gravatar_id":"","url":"https://api.github.com/users/wasp100","html_url":"https://github.com/wasp100","followers_url":"https://api.github.com/users/wasp100/followers","following_url":"https://api.github.com/users/wasp100/following{/other_user}","gists_url":"https://api.github.com/users/wasp100/gists{/gist_id}","starred_url":"https://api.github.com/users/wasp100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wasp100/subscriptions","organizations_url":"https://api.github.com/users/wasp100/orgs","repos_url":"https://api.github.com/users/wasp100/repos","events_url":"https://api.github.com/users/wasp100/events{/privacy}","received_events_url":"https://api.github.com/users/wasp100/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T22:43:50Z","updated_at":"2018-10-18T22:43:50Z","author_association":"NONE","body":"Thanks for your help. Will this fix be implemented in the next software release?"}}
{"actor":{"display_login":"wasp100"}}