{"id":47598412,"url":"https://github.com/emanuelbesliu/homeassistant-pad","last_synced_at":"2026-04-01T18:32:16.156Z","repository":{"id":345477823,"uuid":"1186040571","full_name":"emanuelbesliu/homeassistant-pad","owner":"emanuelbesliu","description":"Home Assistant custom integration for PAD Romania (Polița de Asigurare a Locuinței) - mandatory home insurance verification via padrom.ro","archived":false,"fork":false,"pushed_at":"2026-03-19T08:17:57.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-20T00:53:22.579Z","etag":null,"topics":["hacs","homeassistant","homeassistant-custom-component","insurance","pad","romania"],"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/emanuelbesliu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-19T07:49:42.000Z","updated_at":"2026-03-19T08:17:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emanuelbesliu/homeassistant-pad","commit_stats":null,"previous_names":["emanuelbesliu/homeassistant-pad"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/emanuelbesliu/homeassistant-pad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelbesliu%2Fhomeassistant-pad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelbesliu%2Fhomeassistant-pad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelbesliu%2Fhomeassistant-pad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelbesliu%2Fhomeassistant-pad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelbesliu","download_url":"https://codeload.github.com/emanuelbesliu/homeassistant-pad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelbesliu%2Fhomeassistant-pad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":["hacs","homeassistant","homeassistant-custom-component","insurance","pad","romania"],"created_at":"2026-04-01T18:32:15.587Z","updated_at":"2026-04-01T18:32:16.148Z","avatar_url":"https://github.com/emanuelbesliu.png","language":"Python","funding_links":["https://buymeacoffee.com/emanuelbesliu"],"categories":[],"sub_categories":[],"readme":"# PAD Romania - Home Assistant Integration\n\n[![HACS Validation](https://github.com/emanuelbesliu/homeassistant-pad/actions/workflows/validate.yml/badge.svg)](https://github.com/emanuelbesliu/homeassistant-pad/actions/workflows/validate.yml)\n[![Release](https://github.com/emanuelbesliu/homeassistant-pad/actions/workflows/release-please.yml/badge.svg)](https://github.com/emanuelbesliu/homeassistant-pad/releases)\n[![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buymeacoffee\u0026logoColor=black)](https://buymeacoffee.com/emanuelbesliu)\n\nCustom Home Assistant integration for verifying **PAD** (Polița de Asigurare a Locuinței) mandatory home insurance policies in Romania, using the public verification API on [padrom.ro](https://www.padrom.ro).\n\n## Features\n\n- Verify PAD policy status (Active / Expired / Not Found)\n- Policy expiry date sensor\n- Days until expiry sensor (countdown)\n- Binary sensor for policy validity (ON when valid)\n- Support for all policy series (RA-002 through RX3740)\n- Automatic daily refresh (configurable 1 hour to 7 days)\n- Full Romanian and English translations\n\n## Sensors\n\n| Sensor | Type | Description |\n|--------|------|-------------|\n| Policy Status | sensor | Policy state: Active, Expired, Not Found |\n| Policy Expiry | sensor | Expiry date of the policy |\n| Days Until Expiry | sensor | Days remaining until expiry |\n| Policy Valid | binary_sensor | ON when policy is active and valid |\n\nAll sensors share a device representing the PAD policy.\n\n## Installation\n\n### HACS (Recommended)\n\n1. Open HACS in Home Assistant\n2. Click **Integrations**\n3. Click the 3-dot menu \u003e **Custom repositories**\n4. Add: `https://github.com/emanuelbesliu/homeassistant-pad`\n5. Category: **Integration**\n6. Search for \"PAD Romania\" and install\n\n### Manual\n\n```bash\ncd /config/custom_components\ngit clone https://github.com/emanuelbesliu/homeassistant-pad.git pad_tmp\nmv pad_tmp/custom_components/pad .\nrm -rf pad_tmp\n```\n\n## Configuration\n\n1. Restart Home Assistant\n2. Go to **Settings \u003e Devices \u0026 Services \u003e Add Integration**\n3. Search for **PAD Romania**\n4. Enter:\n   - **Policy series** — select from dropdown (e.g. RA-065)\n   - **Policy number** — digits only\n   - **CNP / CUI** — personal ID or company registration number\n   - **Policy name** — optional friendly name\n   - **Update interval** — how often to check (default: 24 hours)\n5. Click Submit\n\n### Options\n\nAfter setup, you can adjust the update interval from the integration's options.\n\n## Example Automation\n\n```yaml\nalias: \"PAD Policy Expiring Soon\"\ndescription: \"Notify when PAD policy expires in less than 30 days\"\ntriggers:\n  - trigger: numeric_state\n    entity_id: sensor.pad_ra_065_00243241690_days_until_expiry\n    below: 30\nactions:\n  - action: notify.mobile_app\n    data:\n      title: \"PAD Policy Expiring\"\n      message: \u003e-\n        Your PAD policy expires in\n        {{ states('sensor.pad_ra_065_00243241690_days_until_expiry') }} days.\n        Renew at padrom.ro.\n```\n\n## Requirements\n\n- Home Assistant 2024.1.0 or newer\n- Network access to padrom.ro\n\n## Notes\n\n- The integration queries the public padrom.ro verification form\n- Data is fetched via POST requests to the XF-framework AJAX endpoint\n- \"Not found\" does not necessarily mean invalid — the policy might use a different series/number format\n- Response parsing uses regex to extract the expiry date from the HTML response\n\n## Support\n\nIf you find this project useful, consider buying me a coffee!\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://buymeacoffee.com/emanuelbesliu)\n\n- [Report an issue](https://github.com/emanuelbesliu/homeassistant-pad/issues)\n- [HACS info page](info.md)\n\n---\n\n## License\n\nMIT\n\n*Aceasta integrare nu este afiliata oficial cu PAID Romania.*\n*Datele sunt furnizate public de catre padrom.ro pentru informarea populatiei.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelbesliu%2Fhomeassistant-pad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelbesliu%2Fhomeassistant-pad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelbesliu%2Fhomeassistant-pad/lists"}