{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3554","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3554/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3554/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3554/events","html_url":"https://github.com/home-assistant/home-assistant/issues/3554","id":179659965,"number":3554,"title":"Platforms loaded using discovery.load_platform causing rest of platform not to load","user":{"login":"Cinntax","id":5666961,"avatar_url":"https://avatars.githubusercontent.com/u/5666961?v=3","gravatar_id":"","url":"https://api.github.com/users/Cinntax","html_url":"https://github.com/Cinntax","followers_url":"https://api.github.com/users/Cinntax/followers","following_url":"https://api.github.com/users/Cinntax/following{/other_user}","gists_url":"https://api.github.com/users/Cinntax/gists{/gist_id}","starred_url":"https://api.github.com/users/Cinntax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cinntax/subscriptions","organizations_url":"https://api.github.com/users/Cinntax/orgs","repos_url":"https://api.github.com/users/Cinntax/repos","events_url":"https://api.github.com/users/Cinntax/events{/privacy}","received_events_url":"https://api.github.com/users/Cinntax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-28T01:35:43Z","updated_at":"2016-09-30T01:38:26Z","closed_at":"2016-09-30T01:38:26Z","body":"Make sure you are running the latest version of Home Assistant before reporting an issue.\r\n\r\nYou should only file an issue if you found a bug. Feature and enhancement requests should go in [the Feature Requests section](https://community.home-assistant.io/c/feature-requests) of our community forum:\r\n\r\n**Home Assistant release (`hass --version`):**\r\n0.28 (testing on 0.29 dev)\r\n\r\n**Python release (`python3 --version`):**\r\npython 3.5\r\n\r\n**Component/platform:**\r\nenvisalink + command line binary_sensor\r\n\r\n**Description of problem:**\r\nwhen the envisalink platform loads before the sensor/binary sensor entities specified in configuration.yaml,\r\nthose entities don't load (the OTHER sensors/binary_sensors).\r\n\r\nI'm still trying to track this down, but i think it's because the envisalink platform setup calls the discovery.load_platfrom method to load sensors/binary_sensors, and then the normal bootstrap._setup_component thinks the binary_sensor/sensor component has already been loaded and doesn't load any more.\r\n\r\n**Expected:**\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\n\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**Additional info:**\r\nstill looking into possible resolutions, but wanted to get an issue out there.\r\nI think there may be something going on where the load_platform wants to load sensor.envisalink only, but _setup_component still needs to load the rest of the sensors."}}
{"actor":{"display_login":"Cinntax"}}