SurfSense/surfsense_backend/app/connectors
Claude 4f279b06c3
Add Home Assistant connector for smart home data indexing
## 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
2025-11-18 23:58:57 +00:00
..
airtable_connector.py update airtable indexer 2025-08-26 19:17:46 +02:00
clickup_connector.py add coderabbit suggestions 2025-07-30 22:25:47 +02:00
confluence_connector.py add relevant coderrabit suggestions 2025-07-27 14:03:39 +02:00
discord_connector.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
elasticsearch_connector.py fix: ran formatter as per coderrabbitai 2025-10-17 02:44:44 +05:30
github_connector.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
google_calendar_connector.py feat: Moved searchconnectors association from user to searchspace 2025-10-08 21:13:01 -07:00
google_gmail_connector.py fix: celery_app path and gmail indexing 2025-10-21 21:11:41 -07:00
home_assistant_connector.py Add Home Assistant connector for smart home data indexing 2025-11-18 23:58:57 +00:00
jira_connector.py Fixed formatting and linting post Jira connector PR 2025-07-25 10:52:34 -07:00
linear_connector.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
luma_connector.py chore: linting and formatting 2025-09-28 22:26:26 -07:00
notion_history.py chore: linting 2025-11-03 16:00:58 -08:00
slack_history.py chore: removed content trunking for better UI 2025-10-14 14:19:48 -07:00