Minimize the configuration sample

This commit is contained in:
Fabian Affolter 2017-04-01 22:11:18 +02:00
parent 06f2f03dcb
commit eaf8147342
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -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