Xiaomi: Fix barometer

Thanks to MrYoranimo for the fix.
This commit is contained in:
José Rebelo 2024-05-03 22:27:57 +01:00
parent 4c93647aaf
commit 7892afa304
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ public class XiaomiWeatherService extends AbstractXiaomiService {
"Unknown" // some string like "Moderate"
))
.setWarning(XiaomiProto.WeatherWarnings.newBuilder()) // TODO add warnings when they become available through spec
.setPressure(weatherSpec.pressure)
.setPressure(weatherSpec.pressure * 100f)
))
.build();