lichtteil / local_luftdaten

Custom component for Home Assistant that integrates your (own) local Luftdaten sensor (air quality/particle sensor) without using the cloud.
MIT License
46 stars 19 forks source link

Wrong unit for pressure? #12

Closed patkan closed 4 years ago

patkan commented 4 years ago

I upgraded to the new release that includes BMP and just realized that I probably made a mistake in my PR.

As an orientation I took the existing implementation for BME280 sensors and set the unit of the pressure to mbar. It seems to me, however, the sensor reports the values in Pa. I would prepare a Pull Request with changed units for both the sensors that I introduced and the BME280 for you to review.

lichtteil commented 4 years ago

Good catch, thank you! Didn't notice that because in my template sensor I correctly convert it to hPa :)