How desosav/core works
Home Assistant is a local-first home-automation platform with a modular integration ecosystem. Users configure integrations, which expose device capabilities as entities; the runtime represents state, dispatches events and services, and supports voice-assistant processing through Assist pipelines. Core configuration, registries, authentication, and persistent storage provide supporting layers. The README documents modular integrations and automation, but sampled source does not expose the automation runtime or most integration wiring, so those links are not inferred here.
Main entry points: default_pipeline.py Default voice pipeline · core.py Home Assistant core · entity.py Entity model · loader.py Integration loader
Components 20
Core runtime
- Integration setup
homeassistant/config_entries.py - Integration loader
homeassistant/loader.py - Home Assistant core
homeassistant/core.py - Service execution
homeassistant/helpers/service.py - Entity model
homeassistant/helpers/entity.py - Event bus
homeassistant/core.py - Device registry
homeassistant/helpers/device_registry.py - Entity registry
homeassistant/helpers/entity_registry.py
Integrations
- Device integrations
homeassistant/components/__init__.py
Identity and access
- Authentication
homeassistant/auth/auth_store.py - Permissions
homeassistant/auth/permissions/models.py
Voice assistant
- Assist pipeline
homeassistant/components/assist_pipeline/pipeline.py - Default voice pipeline
homeassistant/components/assist_pipeline/default_pipeline.py - Conversation
homeassistant/components/conversation/__init__.py - Speech services
homeassistant/components/stt/__init__.py - Speech output
homeassistant/components/tts/__init__.py
State and persistence
- State machine
homeassistant/core.py - Persistent storage
homeassistant/helpers/storage.py - Backup and restore
homeassistant/backup_restore.py
Other components
- Home user
Connections 18
- Home user → Integration setup: configures
- Integration setup → Integration loader: resolves integration
homeassistant/helpers/service.py - Integration loader → Device integrations: loads
- Device integrations → Entity model: exposes entities
- Home Assistant core → Event bus: dispatches events
homeassistant/core.py - Home Assistant core → State machine: owns state machine
homeassistant/core.py - Service execution → Home Assistant core: runs service calls
homeassistant/helpers/service.py - Service execution → Integration loader: resolves handlers
homeassistant/helpers/service.py - Entity model → Entity registry: registers entities
homeassistant/helpers/entity_registry.py - Entity model → Device registry: associates devices
- Authentication → Persistent storage: persists credentials
homeassistant/auth/auth_store.py - Authentication → Permissions: checks access
homeassistant/auth/auth_store.py - Assist pipeline → Default voice pipeline: runs pipeline
homeassistant/components/assist_pipeline/pipeline.py - Default voice pipeline → Conversation: handles conversation
homeassistant/components/assist_pipeline/default_pipeline.py - Default voice pipeline → Speech services: uses recognition
homeassistant/components/assist_pipeline/default_pipeline.py - Default voice pipeline → Speech output: uses synthesis
homeassistant/components/assist_pipeline/default_pipeline.py - Persistent storage → Home Assistant core: uses runtime
homeassistant/helpers/storage.py - Backup and restore → Persistent storage: backs up data