We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c1404c + 9a4073e commit d6182beCopy full SHA for d6182be
usermods/BME280_v2/BME280_v2.cpp
@@ -442,6 +442,7 @@ class UsermodBME280 : public Usermod
442
configComplete &= getJsonValue(top[F("PublishAlways")], PublishAlways, false);
443
configComplete &= getJsonValue(top[F("UseCelsius")], UseCelsius, true);
444
configComplete &= getJsonValue(top[F("HomeAssistantDiscovery")], HomeAssistantDiscovery, false);
445
+ tempScale = UseCelsius ? "°C" : "°F";
446
447
DEBUG_PRINT(FPSTR(_name));
448
if (!initDone) {
0 commit comments