Travis-CI
通过这个传感器平台,您将能够在 Home Assistant 中集成 Travis-CI
设置
创建一个 GitHub 访问令牌
- read:org
- user:email
- repo_deployment
- repo:status
- write:repo_hook
配置
要启用此平台,请将以下内容添加到您的 configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件中:
# 示例 configuration.yaml 条目
sensor:
- platform: travisci
api_key: YOUR_ACCESS_TOKEN