Updated configuration examples (#6329)

Cleaned up configuration examples since they had names which was logical with old way of configuring.
Removed scan interval in examples
This commit is contained in:
Jonas Karlsson 2018-09-21 17:40:30 +02:00 committed by Franck Nijhof
parent d841bf706a
commit 52ef4c7b80

View File

@ -28,7 +28,7 @@ To enable this sensor, add the following lines to your `configuration.yaml`.
```yaml ```yaml
sensor: sensor:
- platform: trafikverket_weatherstation - platform: trafikverket_weatherstation
name: Trafikverket Road WeatherStation Kungälv name: Trafikverket Kungälv
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Kungälv station: Kungälv
monitored_conditions: monitored_conditions:
@ -92,7 +92,7 @@ Click [here](https://www.trafikverket.se/trafikinformation/vag/?TrafficType=pers
```yaml ```yaml
sensor: sensor:
- platform: trafikverket_weatherstation - platform: trafikverket_weatherstation
name: Trafikverket Road WeatherStation Kungälv name: Trafikverket Kungälv
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Kungälv station: Kungälv
monitored_conditions: monitored_conditions:
@ -104,16 +104,15 @@ sensor:
- wind_direction_text - wind_direction_text
- wind_speed - wind_speed
- platform: trafikverket_weatherstation - platform: trafikverket_weatherstation
name: Trafikverket Air WeatherStation Lanna name: Trafikverket Lanna
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Lanna station: Lanna
monitored_conditions: monitored_conditions:
- air_temp - air_temp
- road_temp - road_temp
- humidity - humidity
scan_interval: 600
- platform: trafikverket_weatherstation - platform: trafikverket_weatherstation
name: Trafikverket Precipitation WeatherStation Nöbbele name: Trafikverket Nöbbele
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Nöbbele station: Nöbbele
monitored_conditions: monitored_conditions:
@ -121,5 +120,4 @@ sensor:
- road_temp - road_temp
- humidity - humidity
- precipitation - precipitation
scan_interval: 600
``` ```