{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14804","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14804/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14804/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14804/events","html_url":"https://github.com/home-assistant/home-assistant/issues/14804","id":328886841,"node_id":"MDU6SXNzdWUzMjg4ODY4NDE=","number":14804,"title":"zha light: polling broken. Cannot read/update state ","user":{"login":"kdjordjev","id":26642112,"node_id":"MDQ6VXNlcjI2NjQyMTEy","avatar_url":"https://avatars3.githubusercontent.com/u/26642112?v=4","gravatar_id":"","url":"https://api.github.com/users/kdjordjev","html_url":"https://github.com/kdjordjev","followers_url":"https://api.github.com/users/kdjordjev/followers","following_url":"https://api.github.com/users/kdjordjev/following{/other_user}","gists_url":"https://api.github.com/users/kdjordjev/gists{/gist_id}","starred_url":"https://api.github.com/users/kdjordjev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdjordjev/subscriptions","organizations_url":"https://api.github.com/users/kdjordjev/orgs","repos_url":"https://api.github.com/users/kdjordjev/repos","events_url":"https://api.github.com/users/kdjordjev/events{/privacy}","received_events_url":"https://api.github.com/users/kdjordjev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T02:11:40Z","updated_at":"2018-06-04T02:32:22Z","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\n\r\nHaas.io 0.70 / 0.70.1\r\n\r\n**Last working Home Assistant release (if known):**\r\n\r\nI think 0.68/0.69 was ok\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\n<!--\r\nPlease provide details about your environment.\r\n-->\r\nHass.io\r\n\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\n\r\nlight / zha\r\n\r\n**Description of problem:**\r\n\r\nPolling got broken with the new release. \r\nNo matter the current state of the light ` result = await zha.safe_read(self._endpoint.on_off, ['on_off'])`  `@ async def async_update(self): `  always returns the light is OFF \r\n\r\nI suspect the issue came with the upgrade of the zigpy / bellows @ 0.70 release\r\n> zha: Bump to zigpy 0.1.0 (@rcloran - #14305) (zha docs)\r\n\r\nI can turn the light ON/Off through Home assistant if the polling is disabled `should_poll = False`\r\nHowever if polling is enabled the `should_poll = True`, Home Assistant always reports light is off\r\n(when `async def async_update(self): `  gets called)\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\n\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/394218568","html_url":"https://github.com/home-assistant/home-assistant/issues/14804#issuecomment-394218568","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14804","id":394218568,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDIxODU2OA==","user":{"login":"dmulcahey","id":1335687,"node_id":"MDQ6VXNlcjEzMzU2ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/1335687?v=4","gravatar_id":"","url":"https://api.github.com/users/dmulcahey","html_url":"https://github.com/dmulcahey","followers_url":"https://api.github.com/users/dmulcahey/followers","following_url":"https://api.github.com/users/dmulcahey/following{/other_user}","gists_url":"https://api.github.com/users/dmulcahey/gists{/gist_id}","starred_url":"https://api.github.com/users/dmulcahey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmulcahey/subscriptions","organizations_url":"https://api.github.com/users/dmulcahey/orgs","repos_url":"https://api.github.com/users/dmulcahey/repos","events_url":"https://api.github.com/users/dmulcahey/events{/privacy}","received_events_url":"https://api.github.com/users/dmulcahey/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T02:32:22Z","updated_at":"2018-06-04T02:32:22Z","author_association":"CONTRIBUTOR","body":"Did you modify this yourself? The zha light entity has should_poll set to false..."}}
{"actor":{"display_login":"dmulcahey"}}