{"id":22944890,"url":"https://github.com/mfa/ha-sensors","last_synced_at":"2026-02-16T02:36:32.446Z","repository":{"id":206480898,"uuid":"711475445","full_name":"mfa/ha-sensors","owner":"mfa","description":"Sensors pushing to Home Assistant","archived":false,"fork":false,"pushed_at":"2025-02-19T17:28:24.000Z","size":48,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T03:32:10.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfa.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-10-29T11:40:11.000Z","updated_at":"2025-02-19T17:28:28.000Z","dependencies_parsed_at":"2024-02-04T19:25:44.389Z","dependency_job_id":"c8f646b8-030b-4de6-be76-99fb4869af98","html_url":"https://github.com/mfa/ha-sensors","commit_stats":null,"previous_names":["mfa/ha-sensors"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fha-sensors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fha-sensors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fha-sensors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fha-sensors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfa","download_url":"https://codeload.github.com/mfa/ha-sensors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182786,"owners_count":21226123,"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":[],"created_at":"2024-12-14T14:28:30.529Z","updated_at":"2026-02-16T02:36:27.410Z","avatar_url":"https://github.com/mfa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## sensors used in home assistant\n\nThis is a list of the sensors I use with raspberry PIs to push to homeassistant.\nThe repo exists primarily as a reference for me.\n\n### homeassistant config structure\n\nIn my ``configuration.yaml`` I have this line:\n```\ntemplate: !include_dir_merge_list includes/templates\n```\nand in ``includes/templates`` extra files for sensors (sometimes combined for a raspberry).\nThe structure in the sensor yaml files have to be lists, i.e. for a bme280:\n```\n- trigger:\n    - platform: webhook\n      webhook_id: !secret zero6-bme\n      allowed_methods:\n        - POST\n      local_only: false\n  unique_id: \"zero6\"\n  sensor:\n    - name: \"zero6 Temperature\"\n      state: \"{{ trigger.json.temperature }}\"\n      unit_of_measurement: \"°C\"\n      device_class: temperature\n      unique_id: \"zero6_temperature\"\n    - name: \"zero6 Humidity\"\n      state: \"{{ trigger.json.humidity }}\"\n      unit_of_measurement: \"%\"\n      device_class: humidity\n      unique_id: \"zero6_humidity\"\n    - name: \"zero6 Pressure\"\n      state: \"{{ trigger.json.pressure }}\"\n      unit_of_measurement: \"hPa\"\n      device_class: atmospheric_pressure\n      unique_id: \"zero6_pressure\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfa%2Fha-sensors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfa%2Fha-sensors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfa%2Fha-sensors/lists"}