SurfSense/surfsense_backend/app/services
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
..
__init__.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
connector_service.py Add Home Assistant connector for smart home data indexing 2025-11-18 23:58:57 +00:00
docling_service.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
grammar_check.py feat: Implement local-first European AI architecture with Mistral NeMo and TildeOpen 2025-11-17 19:58:20 +02:00
kokoro_tts_service.py feat: Added Local TTS (Kokoro TTS) Support 2025-08-13 17:25:34 -07:00
language_detector.py feat: Implement local-first European AI architecture with Mistral NeMo and TildeOpen 2025-11-17 19:58:20 +02:00
llm_service.py feat: added global llm configurations 2025-11-14 21:53:46 -08:00
page_limit_service.py feat: enhance Azure OpenAI embeddings and add voice support for Azure provider 2025-10-30 22:33:47 -07:00
query_service.py feat: moved LLMConfigs from User to SearchSpaces 2025-10-10 00:50:29 -07:00
reranker_service.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
streaming_service.py Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
stt_service.py chore: updated docs & refactored sst_service.py 2025-10-15 14:31:38 -07:00
task_logging_service.py chore: removed chinese comments to pass ruff checks and updated migration nos 2025-10-13 20:07:32 -07:00