mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Minimize the configuration sample
This commit is contained in:
parent
06f2f03dcb
commit
eaf8147342
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: "Lyft"
|
title: "Lyft Sensor"
|
||||||
description: "How to integrate Lyft in Home Assistant"
|
description: "How to integrate Lyft in Home Assistant"
|
||||||
date: 2017-03-19 21:05
|
date: 2017-03-19 21:05
|
||||||
sidebar: true
|
sidebar: true
|
||||||
@ -10,7 +10,7 @@ footer: true
|
|||||||
logo: lyft.png
|
logo: lyft.png
|
||||||
ha_category: Transport
|
ha_category: Transport
|
||||||
ha_iot_class: "Cloud Polling"
|
ha_iot_class: "Cloud Polling"
|
||||||
ha_release: 0.41
|
ha_release: 0.42
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
@ -25,12 +25,9 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: lyft
|
- platform: lyft
|
||||||
client_id: [...]
|
client_id: CLIENT_ID
|
||||||
client_secret: [...]
|
client_secret: CLIENT_SECRET
|
||||||
start_latitude: 37.8116380
|
start_latitude: 37.8116380
|
||||||
start_longitude: -122.2648050
|
|
||||||
end_latitude: 37.615223
|
|
||||||
end_longitude: -122.389977
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
@ -49,8 +46,8 @@ A full configuration entry could look like the sample below:
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: lyft
|
- platform: lyft
|
||||||
client_id: [...]
|
client_id: CLIENT_ID
|
||||||
client_secret: [...]
|
client_secret: CLIENT_SECRET
|
||||||
start_latitude: 37.8116380
|
start_latitude: 37.8116380
|
||||||
start_longitude: -122.2648050
|
start_longitude: -122.2648050
|
||||||
end_latitude: 37.615223
|
end_latitude: 37.615223
|
||||||
|
Loading…
x
Reference in New Issue
Block a user