{"id":17908960,"url":"https://github.com/gjohansson-st/attribute_as_sensor","last_synced_at":"2025-08-25T03:38:15.872Z","repository":{"id":208079643,"uuid":"720761730","full_name":"gjohansson-ST/attribute_as_sensor","owner":"gjohansson-ST","description":"Home Assistant use an entity's attribute as a new sensor helper","archived":false,"fork":false,"pushed_at":"2025-01-07T16:51:18.000Z","size":69,"stargazers_count":67,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-19T00:53:08.792Z","etag":null,"topics":["attribute","helper","home-assistant","sensor"],"latest_commit_sha":null,"homepage":"","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/gjohansson-ST.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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":"gjohansson-ST","ko_fi":"gjohansson","custom":["https://paypal.me/gjohansson80?country.x=SE\u0026locale.x=sv_SE"]}},"created_at":"2023-11-19T14:24:19.000Z","updated_at":"2025-03-17T15:57:18.000Z","dependencies_parsed_at":"2025-01-07T15:41:53.660Z","dependency_job_id":null,"html_url":"https://github.com/gjohansson-ST/attribute_as_sensor","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"d72e67ce43a11f3b223ad446ae3446dcfe87e831"},"previous_names":["gjohansson-st/attribute_as_sensor"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjohansson-ST%2Fattribute_as_sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjohansson-ST%2Fattribute_as_sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjohansson-ST%2Fattribute_as_sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjohansson-ST%2Fattribute_as_sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gjohansson-ST","download_url":"https://codeload.github.com/gjohansson-ST/attribute_as_sensor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245164976,"owners_count":20571218,"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":["attribute","helper","home-assistant","sensor"],"created_at":"2024-10-28T19:19:09.677Z","updated_at":"2025-03-23T20:31:24.868Z","avatar_url":"https://github.com/gjohansson-ST.png","language":"Python","funding_links":["https://github.com/sponsors/gjohansson-ST","https://ko-fi.com/gjohansson","https://paypal.me/gjohansson80?country.x=SE\u0026locale.x=sv_SE"],"categories":[],"sub_categories":[],"readme":"[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge\u0026cacheSeconds=3600)](https://github.com/hacs/integration)\n[![size_badge](https://img.shields.io/github/repo-size/gjohansson-ST/attribute_as_sensor?style=for-the-badge\u0026cacheSeconds=3600)](https://github.com/gjohansson-ST/attribute_as_sensor)\n[![version_badge](https://img.shields.io/github/v/release/gjohansson-ST/attribute_as_sensor?label=Latest%20release\u0026style=for-the-badge\u0026cacheSeconds=3600)](https://github.com/gjohansson-ST/attribute_as_sensor/releases/latest)\n[![download_badge](https://img.shields.io/github/downloads/gjohansson-ST/attribute_as_sensor/total?style=for-the-badge\u0026cacheSeconds=3600)](https://github.com/gjohansson-ST/attribute_as_sensor/releases/latest)\n![GitHub Repo stars](https://img.shields.io/github/stars/gjohansson-ST/attribute_as_sensor?style=for-the-badge\u0026cacheSeconds=3600)\n![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/gjohansson-ST/attribute_as_sensor?style=for-the-badge\u0026cacheSeconds=3600)\n![GitHub License](https://img.shields.io/github/license/gjohansson-ST/attribute_as_sensor?style=for-the-badge\u0026cacheSeconds=3600)\n\n[![Made for Home Assistant](https://img.shields.io/badge/Made_for-Home%20Assistant-blue?style=for-the-badge\u0026logo=homeassistant)](https://github.com/home-assistant)\n\n[![Sponsor me](https://img.shields.io/badge/Sponsor-Me-blue?style=for-the-badge\u0026logo=github)](https://github.com/sponsors/gjohansson-ST)\n[![Discord](https://img.shields.io/discord/872446427664625664?style=for-the-badge\u0026label=Discord\u0026cacheSeconds=3600)](https://discord.gg/EG7cWFQMGW)\n\n# Home Assistant create an entities attribute as it's own sensor\n---\n**Title:** \"Attribute as Sensor\"\n\n**Description:** \"Create an entity from another entities attribute.\"\n\n**Version:** 1.6\n\n**Date created:** 2023-11-19\n\n**Last update:** 2025-01-05\n\n---\n\n## Configuration Options\n\n### Set once\n\n- Name: Name of the new entity\n- Entity: From which entity you want to get the attribute\n\n### Options that you can change at any time\n\n- Attribute: Which attribute you want as it's own sensor\n- Value template: Use a template to manipulate the retrieved attribute from the source entity\n- Icon: Icon to use in frontend\n- Device class: Device class (select from list)\n- State class: State class (select from list)\n- Unit of measurement: UoM to use in frontend (select from list, only temperature, or write your own)\n\n## Installation\n\n### Option 1 (preferred)\n\nUse [HACS](https://hacs.xyz/) to install\nAdd as [custom repository](https://hacs.xyz/docs/faq/custom_repositories) to HACS\n\n### Option 2\n\n1. Below config-folder create a new folder called`custom_components` if not already exist.\n2. Below new `custom_components` folder create a new folder called `attribute_as_sensor`\n3. Upload the files/folders in `custom_components/attribute_as_sensor` directory to the newly created folder.\n4. Restart before proceeding\n\n## Activate integration in HA\n\n[![Add integrations](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start?domain=attribute_as_sensor)\n\nAfter installation go to \"Devices \u0026 services\" and then \"helper\" page in HA, press \"+ Create helper\" and find \"Attribute as Sensor\"\nFollow onscreen information for the required information\nNo restart needed\n\n## Contributions are more than welcome\n\nIf not for code, maybe add a language file for your language.\nUse `string.json` provided by the integration as a template for adding another language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgjohansson-st%2Fattribute_as_sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgjohansson-st%2Fattribute_as_sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgjohansson-st%2Fattribute_as_sensor/lists"}