Skip to content

Commit

Permalink
second indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jypy authored Jun 22, 2016
1 parent 468c524 commit 1087f0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions homeassistant/components/sensor/netatmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
'rain': ['Rain', 'mm', 'mdi:weather-rainy'],
'sum_rain_1': ['sum_rain_1', 'mm', 'mdi:weather-rainy'],
'sum_rain_24': ['sum_rain_24', 'mm', 'mdi:weather-rainy'],
'battery_vp': ['Battery', '','mdi:battery'],
'battery_vp': ['Battery', '', 'mdi:battery'],
'min_temp': ['Min Temp.', TEMP_CELSIUS, 'mdi:thermometer'],
'max_temp': ['Max Temp.', TEMP_CELSIUS, 'mdi:thermometer'],
'WindAngle': ['Angle', '', 'mdi:compass'],
'WindStrength': ['Strength', 'km/h', 'mdi:weather-windy'],
'GustAngle': ['Gust Angle', '', 'mdi:compass'],
'GustStrength': ['Gust Strength', 'km/h', 'mdi:weather-windy'],
'rf_status': ['Radio', '', 'mdi:signal'],
'wifi_status': ['Wifi', '','mdi:wifi']
'wifi_status': ['Wifi', '', 'mdi:wifi']
}

CONF_STATION = 'station'
Expand Down Expand Up @@ -201,6 +201,7 @@ def update(self):
elif data['wifi_status'] <= 70:
self._state = "Good"


class NetAtmoData(object):
"""Get the latest data from NetAtmo."""

Expand Down

1 comment on commit 1087f0a

@Jypy
Copy link
Contributor Author

@Jypy Jypy commented on 1087f0a Jun 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still failing with
************* Module homeassistant.components.sensor.netatmo
R:109, 4: Too many statements (92/50) (too-many-statements)
ERROR: InvocationError: '/home/travis/build/home-assistant/home-assistant/.tox/lint/bin/pylint homeassistant'

Any idea?

Please sign in to comment.