mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Move instructions to section section
This commit is contained in:
parent
18a734a04d
commit
f1a269a3b7
@ -15,18 +15,30 @@ ha_iot_class: "Cloud Polling"
|
|||||||
|
|
||||||
With this sensor platform, you will be able to integrate the test build results reported by [Travis-CI](https://travis-ci.org/) working within Home Assistant.
|
With this sensor platform, you will be able to integrate the test build results reported by [Travis-CI](https://travis-ci.org/) working within Home Assistant.
|
||||||
|
|
||||||
|
## {% linkable_title Setup %}
|
||||||
|
|
||||||
|
Create a GitHub [access token](https://github.com/settings/tokens) with the following scopes:
|
||||||
|
|
||||||
|
- **read:org**
|
||||||
|
- **user:email**
|
||||||
|
- **repo_deployment**
|
||||||
|
- **repo:status**
|
||||||
|
- **write:repo_hook**
|
||||||
|
|
||||||
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
To enable this platform, please add the following to your `configuration.yaml` file:
|
To enable this platform, please add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: travisci
|
- platform: travisci
|
||||||
api_key: 123456789
|
api_key: YOUR_ACCESS_TOKEN
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
api_key:
|
api_key:
|
||||||
description: "GitHub [access token](https://github.com/settings/tokens) with the following scopes: *read:org*, *user:email*, *repo_deployment*, *repo:status*, *write:repo_hook*."
|
description: The acces token for GitHub.
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
branch:
|
branch:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user