SubGHz: Fix Acurite 986 temperature value conversion

This commit is contained in:
Willy-JL
2024-09-02 23:27:49 +02:00
parent cc72209691
commit a3e1b66be4
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
- API: Publishing T5577 page 1 block count macro (by @zinongli)
### Fixed:
- Sub-GHz: Fix Acurite 986 temperature value conversion (by @Willy-JL)
- Desktop:
- Fix disabling keybinds (by @Willy-JL)
- Sanity check PIN length for good measure (by @Willy-JL)

View File

@@ -136,7 +136,7 @@ static void ws_protocol_acurite_986_remote_controller(WSBlockGeneric* instance)
if(temp & 0x80) {
temp = -(temp & 0x7F);
}
instance->temp = (float)temp;
instance->temp = locale_fahrenheit_to_celsius((float)temp);
instance->btn = WS_NO_BTN;
instance->humidity = WS_NO_HUMIDITY;
}