Add link to docs and update pressure unit

This commit is contained in:
Fabian Affolter 2016-01-14 09:16:20 +01:00
parent bdd6bb7918
commit f0af23a4f5

View File

@ -1,10 +1,10 @@
"""
homeassistant.components.sensor.netatmo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NetAtmo Weather Service service.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/...
https://home-assistant.io/components/sensor.netatmo/
"""
import logging
from datetime import timedelta
@ -25,7 +25,7 @@ _LOGGER = logging.getLogger(__name__)
SENSOR_TYPES = {
'temperature': ['Temperature', TEMP_CELCIUS],
'co2': ['CO2', 'ppm'],
'pressure': ['Pressure', 'mb'],
'pressure': ['Pressure', 'mbar'],
'noise': ['Noise', 'dB'],
'humidity': ['Humidity', '%']
}