{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/18062","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/18062/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/18062/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/18062/events","html_url":"https://github.com/home-assistant/home-assistant/issues/18062","id":376118254,"node_id":"MDU6SXNzdWUzNzYxMTgyNTQ=","number":18062,"title":"Suggestion: ignore duplicate sensors in packages","user":{"login":"Naesstrom","id":6575206,"node_id":"MDQ6VXNlcjY1NzUyMDY=","avatar_url":"https://avatars0.githubusercontent.com/u/6575206?v=4","gravatar_id":"","url":"https://api.github.com/users/Naesstrom","html_url":"https://github.com/Naesstrom","followers_url":"https://api.github.com/users/Naesstrom/followers","following_url":"https://api.github.com/users/Naesstrom/following{/other_user}","gists_url":"https://api.github.com/users/Naesstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/Naesstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naesstrom/subscriptions","organizations_url":"https://api.github.com/users/Naesstrom/orgs","repos_url":"https://api.github.com/users/Naesstrom/repos","events_url":"https://api.github.com/users/Naesstrom/events{/privacy}","received_events_url":"https://api.github.com/users/Naesstrom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-31T19:07:46Z","updated_at":"2018-10-31T22:38:43Z","closed_at":"2018-10-31T22:38:42Z","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.81.2\r\n\r\n**Last working Home Assistant release (if known):**\r\n\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**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\nhttps://www.home-assistant.io/docs/configuration/packages/\r\n\r\n**Description of problem:**\r\nI made a package of a carheater function I saw on a FB group and since I wanted it to be easy for everyone to download and use I added all the sensors etc. into the package to make a plug and play solution. The problem is that in the [package](https://github.com/Naesstrom/home_assistant/blob/master/packages/carheater.yaml) I have a time_date sensor added. Because I already have that added elsewhere I suddenly have both a `sensor.time`and a `sensor_time_2`.\r\nNot sure if it's possible but it would be nice if home-assistant hade the logic to check for duplicate sensors and just use one of them. \r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\n- platform: time_date\r\n  display_options:\r\n    - 'time'\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\n"}}
{"actor":{"display_login":"MartinHjelmare"}}