{
  "id": "okf_xinetzone_specweave_bundles_chaos_home_a_8761f3e6",
  "kind": "okf",
  "category": "dados",
  "name": "Home Assistant 知识包",
  "tagline": "开源智能家居平台——核心架构、集成开发、测试与工具链",
  "body": "# Home Assistant 知识包\n\n本知识包（bundle）系统梳理 Home Assistant 开源智能家居平台的核心架构与集成开发体系，涵盖三层架构（核心-集成-平台）、运行时内核（HomeAssistant 对象、事件总线、状态机、服务注册表、实体模型）、配置系统、认证权限、helpers/util 工具库、集成开发模式（manifest、ConfigFlow、平台实体基类）、hassfest 质量工具链（29 个验证器、四级 quality_scale）和 pytest 测试基础设施。内容基于 Home Assistant Core 源码提取，遵循 OKF v0.2 规范，零虚构。\n\n## 知识地图\n\n### 基础组：平台认知与启动（00-06）\n\n建立对 Home Assistant 的整体认知，理解其架构设计与启动机制：\n\n* [00 — 概览](/concepts/00-overview.md) — 平台定位、核心能力与架构一览\n* [01 — 三层架构](/concepts/01-architecture.md) — 核心层、集成层、平台层的职责划分\n* [02 — 安装与启动](/concepts/02-installation-runner.md) — runner.py 入口、命令行参数、事件循环策略\n* [03 — 核心对象](/concepts/03-core-object.md) — HomeAssistant 根对象与 CoreState 状态机\n* [04 — 启动流程](/concepts/04-bootstrap-lifecycle.md) — bootstrap 阶段、组件加载顺序与依赖解析\n* [05 — 配置系统](/concepts/05-configuration.md) — configuration.yaml、Config 类、secrets 管理\n* [06 — 事件总线](/concepts/06-event-bus.md) — EventBus 发布订阅与内置事件类型\n\n### 核心组：运行时与工具库（07-13）\n\n深入 HA 运行时内核与辅助工具，掌握二次开发的基础设施：\n\n* [07 — 状态机](/concepts/07-state-machine.md) — State 对象、async_s",
  "url": "https://github.com/xinetzone/SpecWeave/blob/HEAD/bundles/chaos/home-assistant/index.md",
  "status": "live",
  "origin": "okf_github",
  "origin_id": "xinetzone/SpecWeave:bundles/chaos/home-assistant/index.md",
  "install": "https://raw.githubusercontent.com/xinetzone/SpecWeave/HEAD/bundles/chaos/home-assistant/index.md",
  "source": "https://github.com/xinetzone/SpecWeave",
  "transporte": "",
  "ns": "xinetzone",
  "versao": "0.2",
  "oficial_status": "",
  "repo_host": "github.com",
  "topico": "iot",
  "linguagem": "",
  "licenca": "",
  "repo_topics": "",
  "repo_slug": "xinetzone/specweave",
  "stars": 0,
  "forks": 0,
  "prs_abertos": 0,
  "pushed_at": "",
  "repo_estado": "",
  "likes": 0,
  "comments": 0,
  "visits": 0,
  "readme_bytes": 0,
  "created_at": "2026-09-09 12:03:57",
  "updated_at": "2026-09-09 12:03:57",
  "mine": false,
  "api": "https://agentalog.com/api/listings/okf_xinetzone_specweave_bundles_chaos_home_a_8761f3e6",
  "go": "https://agentalog.com/api/go/okf_xinetzone_specweave_bundles_chaos_home_a_8761f3e6",
  "comments_api": "https://agentalog.com/api/listings/okf_xinetzone_specweave_bundles_chaos_home_a_8761f3e6/comments",
  "readme_sha": "",
  "readme_em": "",
  "payload": {
    "name": "xinetzone/SpecWeave:bundles/chaos/home-assistant/index.md",
    "title": "Home Assistant 知识包",
    "version": "0.2",
    "okf_bundle_dir": "bundles/chaos/home-assistant",
    "okf_index_path": "bundles/chaos/home-assistant/index.md",
    "okf_conceitos": 23,
    "okf_ref": "HEAD",
    "okf_type": "Index"
  },
  "volatil_em": "2026-09-13 18:07:16"
}