home-assistant-entities-services

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Home Assistant Entities & Services

Home Assistant 实体与服务

Workflow

工作流程

  • Discover entities and services before acting.
  • Inspect current state/metadata before updates.
  • When helper selection, templating, or entity renames/refactors are involved, follow
    home-assistant-best-practices
    references.
  • Provide minimal tool calls or YAML examples.
  • 执行操作前先发现实体和服务。
  • 更新前检查当前状态/元数据。
  • 涉及助手选择、模板化或实体重命名/重构时,请遵循
    home-assistant-best-practices
    参考文档。
  • 提供最少的工具调用或 YAML 示例。

Tooling map (ha-mcp)

工具映射(ha-mcp)

  • Discover entities:
    ha_get_overview
    ,
    ha_search_entities
    ,
    ha_get_state
  • Find usage/history:
    ha_deep_search
    ,
    ha_get_history
    ,
    ha_get_statistics
  • Manage entities:
    ha_get_entity
    ,
    ha_set_entity
    ,
    ha_rename_entity
    ,
    ha_rename_entity_and_device
  • Devices:
    ha_get_device
    ,
    ha_update_device
  • Helpers:
    ha_config_list_helpers
    ,
    ha_config_set_helper
    ,
    ha_create_config_entry_helper
  • Labels:
    ha_config_get_label
    ,
    ha_config_set_label
    ,
    ha_manage_entity_labels
  • Groups:
    ha_config_list_groups
    ,
    ha_config_set_group
    ,
    ha_config_remove_group
  • Services:
    ha_list_services
    ,
    ha_call_service
  • 发现实体:
    ha_get_overview
    ha_search_entities
    ha_get_state
  • 查找使用情况/历史记录:
    ha_deep_search
    ha_get_history
    ha_get_statistics
  • 管理实体:
    ha_get_entity
    ha_set_entity
    ha_rename_entity
    ha_rename_entity_and_device
  • 设备:
    ha_get_device
    ha_update_device
  • 助手:
    ha_config_list_helpers
    ha_config_set_helper
    ha_create_config_entry_helper
  • 标签:
    ha_config_get_label
    ha_config_set_label
    ha_manage_entity_labels
  • 群组:
    ha_config_list_groups
    ha_config_set_group
    ha_config_remove_group
  • 服务:
    ha_list_services
    ha_call_service

References

参考资料

All reference files are relative to the location of this SKILL.md file.
  • Best practices:
    home-assistant-best-practices
    (see its
    references/helper-selection.md
    ,
    references/template-guidelines.md
    ,
    references/device-control.md
    ,
    references/safe-refactoring.md
    )
  • State object quick ref:
    references/STATE_OBJECT_QUICKREF.md
  • Limited templates:
    references/LIMITED_TEMPLATES.md
所有参考文件均相对于本 SKILL.md 文件的位置。
  • 最佳实践:
    home-assistant-best-practices
    (请参阅其
    references/helper-selection.md
    references/template-guidelines.md
    references/device-control.md
    references/safe-refactoring.md
  • 状态对象速查:
    references/STATE_OBJECT_QUICKREF.md
  • 受限模板:
    references/LIMITED_TEMPLATES.md