diff --git a/README.md b/README.md index 1bf94ac..b0b8b43 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,10 @@ At the moment following sensor data can be read: - BME280_temperature - BME280_humidity - BME280_pressure +- BMP_pressure +- BMP_temperature +- BMP280_pressure +- BMP280_temperature - HTU21D_temperature - HTU21D_humidity diff --git a/custom_components/local_luftdaten/sensor.py b/custom_components/local_luftdaten/sensor.py index 1da65e4..3e14cbd 100644 --- a/custom_components/local_luftdaten/sensor.py +++ b/custom_components/local_luftdaten/sensor.py @@ -34,6 +34,10 @@ SENSOR_BME280_TEMPERATURE = 'BME280_temperature' SENSOR_BME280_HUMIDITY = 'BME280_humidity' SENSOR_BME280_PRESSURE = 'BME280_pressure' +SENSOR_BMP_TEMPERATURE = 'BMP_temperature' +SENSOR_BMP_PRESSURE = 'BMP_pressure' +SENSOR_BMP280_TEMPERATURE = 'BMP280_temperature' +SENSOR_BMP280_PRESSURE = 'BMP280_pressure' SENSOR_PM1 = 'SDS_P1' SENSOR_PM2 = 'SDS_P2' SENSOR_WIFI_SIGNAL = 'signal' @@ -46,10 +50,14 @@ SENSOR_BME280_TEMPERATURE: ['Temperature', TEMP_CELSIUS], SENSOR_BME280_HUMIDITY: ['Humidity', '%'], SENSOR_BME280_PRESSURE: ['Pressure', 'mb'], + SENSOR_BMP_TEMPERATURE: ['Temperature', TEMP_CELSIUS], + SENSOR_BMP_PRESSURE: ['Pressure', 'mb'], + SENSOR_BMP280_TEMPERATURE: ['Temperature', TEMP_CELSIUS], + SENSOR_BMP280_PRESSURE: ['Pressure', 'mb'], SENSOR_PM1: ['PM10', VOLUME_MICROGRAMS_PER_CUBIC_METER], SENSOR_PM2: ['PM2.5', VOLUME_MICROGRAMS_PER_CUBIC_METER], SENSOR_WIFI_SIGNAL: ['Wifi signal', 'dBm'], - SENSOR_HTU21D_TEMPERATURE: ['Temperature', TEMP_CELSIUS], + SENSOR_HTU21D_TEMPERATURE: ['Temperature', TEMP_CELSIUS], SENSOR_HTU21D_HUMIDITY: ['Humidity', '%'] }