{"id":13585874,"url":"https://github.com/custom-components/sensor.sonarr_upcoming_media","last_synced_at":"2025-12-30T00:47:20.540Z","repository":{"id":44415160,"uuid":"146792954","full_name":"custom-components/sensor.sonarr_upcoming_media","owner":"custom-components","description":"📺 Sonarr component to feed Upcoming Media Card.","archived":false,"fork":false,"pushed_at":"2024-05-06T03:03:44.000Z","size":109,"stargazers_count":49,"open_issues_count":3,"forks_count":44,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-05-06T04:24:02.010Z","etag":null,"topics":["hacs","home-assistant","home-assistant-integration"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/custom-components.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["maykar"]}},"created_at":"2018-08-30T18:51:56.000Z","updated_at":"2024-05-29T20:05:04.796Z","dependencies_parsed_at":"2024-05-29T20:05:01.737Z","dependency_job_id":"160b61ab-e10a-47a8-9b16-473c0190b0a1","html_url":"https://github.com/custom-components/sensor.sonarr_upcoming_media","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/custom-components%2Fsensor.sonarr_upcoming_media","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/custom-components%2Fsensor.sonarr_upcoming_media/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/custom-components%2Fsensor.sonarr_upcoming_media/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/custom-components%2Fsensor.sonarr_upcoming_media/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/custom-components","download_url":"https://codeload.github.com/custom-components/sensor.sonarr_upcoming_media/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247636816,"owners_count":20971008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacs","home-assistant","home-assistant-integration"],"created_at":"2024-08-01T15:05:11.738Z","updated_at":"2025-12-30T00:47:20.502Z","avatar_url":"https://github.com/custom-components.png","language":"Python","funding_links":["https://github.com/sponsors/maykar"],"categories":["Python"],"sub_categories":[],"readme":"# Sonarr Upcoming Media Component\n\nHome Assistant component to feed [Upcoming Media Card](https://github.com/custom-cards/upcoming-media-card) with\nSonarr's upcoming releases.\u003c/br\u003e\nThis component does not require, nor conflict with, the default Sonarr component.\u003c/br\u003e\u003c/br\u003e\n### Issues\nRead through these two resources before posting issues to GitHub or the forums.\n* [troubleshooting guide](https://github.com/custom-cards/upcoming-media-card/blob/master/troubleshooting.md)\n* [@thomasloven's lovelace guide](https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins).\n\n## Installation:\n\n1. Install this component by copying [these files](https://github.com/custom-components/sensor.sonarr_upcoming_media/tree/master/custom_components/sonarr_upcoming_media) to `/custom_components/sonarr_upcoming_media/`.\n2. Install the card: [Upcoming Media Card](https://github.com/custom-cards/upcoming-media-card)\n3. Add the code for the card to your `ui-lovelace.yaml`. \n4. **You will need to restart after installation for the component to start working.**\n\n### Adding device\nTo add the **Sonarr Upcoming Media** integration to your Home Assistant, use this My button:\n\n\u003ca href=\"https://my.home-assistant.io/redirect/config_flow_start?domain=sonarr_upcoming_media\" class=\"my badge\" target=\"_blank\"\u003e\u003cimg src=\"https://my.home-assistant.io/badges/config_flow_start.svg\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\u003csummary style=\"list-style: none\"\u003e\u003ch3\u003e\u003cb style=\"cursor: pointer\"\u003eManual configuration steps\u003c/b\u003e\u003c/h3\u003e\u003c/summary\u003e\n\nIf the above My button doesn’t work, you can also perform the following steps manually:\n\n- Browse to your Home Assistant instance.\n\n- Go to [Settings \u003e Devices \u0026 Services](https://my.home-assistant.io/redirect/integrations/).\n\n- In the bottom right corner, select the [Add Integration button.](https://my.home-assistant.io/redirect/config_flow_start?domain=sonarr_upcoming_media)\n\n- From the list, select **Sonarr Upcoming Media**.\n\n- Follow the instructions on screen to complete the setup.\n\u003c/details\u003e\n\n**Do not just copy examples, please use config options above to build your own!**\n\n### Sample for ui-lovelace.yaml:\n\n    - type: custom:upcoming-media-card\n      entity: sensor.sonarr_upcoming_media\n      title: Upcoming TV\n      \n      \n### Card Content Defaults:\n\n| key | default | example |\n| --- | --- | --- |\n| title | $title | \"The Walking Dead\" |\n| line1 | $episode | \"What Comes After\" |\n| line2 | $release | \"Mon, 10/31 9:00pm\" if it's more than a week away or \"Monday, 9:00pm\" if it's within a week.|\n| line3 | $rating - $runtime | \"★ 7.8 - 45 min\" |\n| line4 | $number - $studio | \"S06E09 - AMC\"\n| icon | mdi:arrow-down-bold | https://materialdesignicons.com/icon/arrow-down-bold\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcustom-components%2Fsensor.sonarr_upcoming_media","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcustom-components%2Fsensor.sonarr_upcoming_media","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcustom-components%2Fsensor.sonarr_upcoming_media/lists"}