Fix changes introduced with #7917 (#7930)

This commit is contained in:
Fabian Affolter 2017-06-06 19:14:41 +02:00 committed by GitHub
parent 760138ac52
commit cbbb15fa48

View file

@ -32,7 +32,7 @@ ATTRIBUTION = 'Data provided by the World Air Quality Index project'
CONF_LOCATIONS = 'locations'
CONF_STATIONS = 'stations'
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=10)
SCAN_INTERVAL = timedelta(minutes=5)
SENSOR_TYPES = {
'aqi': ['AQI', '0-300+', 'mdi:cloud']
@ -63,8 +63,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
(waqi_sensor.station_name in station_filter):
dev.append(WaqiSensor(WaqiData(station, token), station))
print("#### Locations", locations)
print("### Stations", station_filter)
add_devices(dev, True)