New (square) aqara sensors reports pressure as well. It works like a charm with gateway integrated into HA, but readings are raw ground level pressure, not really useful while we used to use sea level pressure in all forecasts.
So I think it would be nice to add an optional feature to “xiaomi_aqara” component - ability to recalculate pressure to sea level using this formula: Add Xiaomi Temperature and Humidity Sensor (or http://barani.biz/apps/sea-level-pressure).
So, we could configure as follows:
- name of sensor with outside temperature or just a constant value / template (if no outside temperature sensor is present)
- elevation can be got straight from configuration or just a constant value
I know that it can be done using sensor template component, but it would be more natural & simple just to configure it within xiaomi_aquara component.