{"id":28515951,"url":"https://github.com/thybag/ha-energy-entity-card","last_synced_at":"2026-04-29T09:31:42.148Z","repository":{"id":243409688,"uuid":"812351123","full_name":"thybag/ha-energy-entity-card","owner":"thybag","description":"A Simple Home Assistant energy entity card that integrates with `energy-date-selection`","archived":false,"fork":false,"pushed_at":"2026-04-06T13:16:29.000Z","size":36,"stargazers_count":6,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-06T15:17:50.927Z","etag":null,"topics":["energy-card","energy-dashboard","energy-date-selection","hacs-plugin","home-assistant"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/thybag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2024-06-08T16:33:36.000Z","updated_at":"2026-04-06T13:14:45.000Z","dependencies_parsed_at":"2025-07-05T15:31:53.584Z","dependency_job_id":"f87f10f9-3179-4537-bc82-55423473c51a","html_url":"https://github.com/thybag/ha-energy-entity-card","commit_stats":null,"previous_names":["thybag/ha-energy-entity-card"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/thybag/ha-energy-entity-card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thybag%2Fha-energy-entity-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thybag%2Fha-energy-entity-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thybag%2Fha-energy-entity-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thybag%2Fha-energy-entity-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thybag","download_url":"https://codeload.github.com/thybag/ha-energy-entity-card/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thybag%2Fha-energy-entity-card/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32419807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["energy-card","energy-dashboard","energy-date-selection","hacs-plugin","home-assistant"],"created_at":"2025-06-09T03:31:25.558Z","updated_at":"2026-04-29T09:31:42.132Z","avatar_url":"https://github.com/thybag.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Assistant Energy Entity Card\n\nA simple energy entity card for Home Assistant that connects with `energy-date-selection`.\nUse with other energy components to create your own bespoke energy dashboards.\n\n![An example of the custom:map-card](cards.jpg)\n\n## Basic setup\n\nEnsure the  `energy-date-selection` is added to the page. This can be added as a \"Manual\" card from the add card menu with the content `type: energy-date-selection`.\nYou can then add as many `custom:energy-entity-card`'s to the page as your would like.\n\nWhile designed for the energy dashboard, this card also works with any other entities that use home assistants long time history.\n\nYour card config should look something like the below. Only the `entity` and `type` are required.\n```\ntype: custom:energy-entity-card\nname: Energy used\nentity: sensor.grid_energy_used\nunit: 'kWh'\n```\n\n## Installation\n\n#### HACS\n1. Navigate to your home assistants HACS tab and open the \"Frontend\" section\n2. Click the 3 dot menu in the top right hand corner.\n3. Select \"Custom repositories\"\n4. Enter `thybag/ha-energy-entity-card` as the repository, and lovelace as the category.\n5. Press \"Add\"\n6. The `energy-entity-card` should now be available in HACS when you search for it. Install it and your done.\n\nSee the [HACS Custom Repository](https://hacs.xyz/docs/faq/custom_repositories/) page for fuill details.\n\n#### Manual\n1. Copy `ha-energy-entity-card.js` to your `/var/lib/hass/www` folder.\n2. Click on `Edit Dashboard`,  `Manage resources` add `/local/ha-energy-entity-card.js` as `JavaScript Module`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthybag%2Fha-energy-entity-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthybag%2Fha-energy-entity-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthybag%2Fha-energy-entity-card/lists"}