{"id":50748616,"url":"https://github.com/jscruz/sensor.carbon_intensity_uk","last_synced_at":"2026-06-10T23:02:40.950Z","repository":{"id":53787660,"uuid":"262803775","full_name":"jscruz/sensor.carbon_intensity_uk","owner":"jscruz","description":"Carbon Intensity UK Sensor for Home Assistant","archived":false,"fork":false,"pushed_at":"2026-05-09T23:50:51.000Z","size":224,"stargazers_count":8,"open_issues_count":8,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-10T01:26:37.404Z","etag":null,"topics":["carbon","custom-component","custom-integration","energy","hacs","home-assistant-custom","sensor-platform"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jscruz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-10T14:22:56.000Z","updated_at":"2026-05-09T23:44:44.000Z","dependencies_parsed_at":"2022-09-04T18:22:01.159Z","dependency_job_id":null,"html_url":"https://github.com/jscruz/sensor.carbon_intensity_uk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"ludeeus/integration_blueprint","purl":"pkg:github/jscruz/sensor.carbon_intensity_uk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscruz%2Fsensor.carbon_intensity_uk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscruz%2Fsensor.carbon_intensity_uk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscruz%2Fsensor.carbon_intensity_uk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscruz%2Fsensor.carbon_intensity_uk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jscruz","download_url":"https://codeload.github.com/jscruz/sensor.carbon_intensity_uk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscruz%2Fsensor.carbon_intensity_uk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34174148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["carbon","custom-component","custom-integration","energy","hacs","home-assistant-custom","sensor-platform"],"created_at":"2026-06-10T23:02:40.469Z","updated_at":"2026-06-10T23:02:40.943Z","avatar_url":"https://github.com/jscruz.png","language":"Python","funding_links":["https://www.buymeacoffee.com/jscruz"],"categories":[],"sub_categories":[],"readme":"# Carbon Intensity UK sensor\n\n[![GitHub Release][releases-shield]][releases]\n\n[![GitHub Activity][commits-shield]][commits]\n[![License][license-shield]](LICENSE)\n\n[![hacs][hacsbadge]][hacs]\n![Project Maintenance][maintenance-shield]\n[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]\n\n[![Discord][discord-shield]][discord]\n[![Community Forum][forum-shield]][forum]\n\n_Component to integrate with [Carbon Intensity UK][carbon_intensity_uk]._\n\n**This component will set up the following platforms.**\n\nPlatform | Description\n-- | --\n`sensor` | Show info from Carbon Intensity UK API.\n\nThe sensor retrieves information using [Carbon Intensity UK API library](https://github.com/jscruz/carbonintensity)\n\n![alt Sensor attributes][attributesimg]\n\n## Installation\n\n[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=jscruz\u0026repository=sensor.carbon_intensity_uk\u0026category=integration)\n\n1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`).\n2. If you do not have a `custom_components` directory (folder) there, you need to create it.\n3. In the `custom_components` directory (folder) create a new folder called `carbon_intensity_uk`.\n4. Download _all_ the files from the `custom_components/carbon_intensity_uk/` directory (folder) in this repository.\n5. Place the files you downloaded in the new directory (folder) you created.\n6. Restart Home Assistant\n7. In the HA UI go to \"Configuration\" -\u003e \"Integrations\" click \"+\" and search for \"Carbon Intensity UK\"\n\nUsing your HA configuration directory (folder) as a starting point you should now also have this:\n\n```text\ncustom_components/carbon_intensity_uk/.translations/en.json\ncustom_components/carbon_intensity_uk/.translations/nb.json\ncustom_components/carbon_intensity_uk/.translations/sensor.nb.json\ncustom_components/carbon_intensity_uk/__init__.py\ncustom_components/carbon_intensity_uk/binary_sensor.py\ncustom_components/carbon_intensity_uk/config_flow.py\ncustom_components/carbon_intensity_uk/const.py\ncustom_components/carbon_intensity_uk/manifest.json\ncustom_components/carbon_intensity_uk/sensor.py\ncustom_components/carbon_intensity_uk/switch.py\n```\n\n## Configuration is done in the UI\n\n\u003c!----\u003e\n\n## Contributions are welcome!\n\nIf you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md)\n\n***\n\n[carbon_intensity_uk]: https://github.com/jscruz/sensor.carbon_intensity_uk\n[buymecoffee]: https://www.buymeacoffee.com/jscruz\n[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge\n[commits-shield]: https://img.shields.io/github/commit-activity/y/jscruz/sensor.carbon_intensity_uk?style=for-the-badge\n[commits]: https://github.com/jscruz/sensor.carbon_intensity_uk/commits/master\n[hacs]: https://github.com/custom-components/hacs\n[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge\n[discord]: https://discord.gg/Qa5fW2R\n[discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge\n[attributesimg]: attributes.png\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg?style=for-the-badge\n[forum]: https://community.home-assistant.io/\n[license-shield]: https://img.shields.io/github/license/jscruz/sensor.carbon_intensity_uk.svg?style=for-the-badge\n[maintenance-shield]: https://img.shields.io/badge/maintainer-Jorge%20Cruz%20%40jscruz-blue.svg?style=for-the-badge\n[releases-shield]: https://img.shields.io/github/release/jscruz/sensor.carbon_intensity_uk.svg?style=for-the-badge\n[releases]: https://github.com/jscruz/sensor.carbon_intensity_uk/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjscruz%2Fsensor.carbon_intensity_uk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjscruz%2Fsensor.carbon_intensity_uk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjscruz%2Fsensor.carbon_intensity_uk/lists"}