mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-24 23:41:10 +02:00
## New Files - connectors/home_assistant_connector.py: API client for Home Assistant REST API - tasks/connector_indexers/home_assistant_indexer.py: Data indexer for HA items - routes/home_assistant_add_connector_route.py: Authentication route for token setup ## Modified Files - db.py: Add HOME_ASSISTANT_CONNECTOR to DocumentType and SearchSourceConnectorType enums - connector_service.py: Add search_home_assistant() method - nodes.py: Add HOME_ASSISTANT_CONNECTOR to search_single_connector - utils.py: Add connector metadata (emoji, result name, friendly name) - routes/__init__.py: Register Home Assistant route - search_source_connectors_routes.py: Add indexing endpoint and run function - celery_tasks/connector_tasks.py: Add Celery task for background indexing - connector_indexers/__init__.py: Export index_home_assistant_data ## Features - Index automations, scripts, scenes, and logbook events - Long-Lived Access Token authentication (simple setup) - Markdown formatting for indexed content - Incremental indexing based on last_indexed_at - Full integration with existing search infrastructure |
||
|---|---|---|
| .. | ||
| agents | ||
| config | ||
| connectors | ||
| prompts | ||
| retriver | ||
| routes | ||
| schemas | ||
| services | ||
| tasks | ||
| utils | ||
| __init__.py | ||
| app.py | ||
| celery_app.py | ||
| db.py | ||
| users.py | ||