Huami: Disable air quality indicator on Huami devices instead of showing 0

Thanks @ponyzucker

Closes #1834
This commit is contained in:
Andreas Shimokawa 2020-04-08 12:02:47 +02:00
parent fbc123e8d0
commit 89017ac58f
1 changed files with 1 additions and 1 deletions

View File

@ -1928,7 +1928,7 @@ public class HuamiSupport extends AbstractBTLEDeviceSupport {
buf.put((byte) 4);
buf.putInt(weatherSpec.timestamp);
buf.put((byte) (tz_offset_hours * 4));
buf.putShort((short) 0);
buf.putShort((short) -1);
if (supportsConditionString) {
buf.put(aqiString.getBytes());
buf.put((byte) 0);