mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 18:54:28 +05:00
fix; fix typo
This commit is contained in:
@@ -605,7 +605,7 @@ protected:
|
|||||||
float indoorTemp = 0.0f;
|
float indoorTemp = 0.0f;
|
||||||
float convertedTemp = 0.0f;
|
float convertedTemp = 0.0f;
|
||||||
|
|
||||||
if (!vars.sensors.indoor.connected) {
|
if (vars.sensors.indoor.connected) {
|
||||||
indoorTemp = vars.temperatures.indoor;
|
indoorTemp = vars.temperatures.indoor;
|
||||||
convertedTemp = convertTemp(indoorTemp, settings.system.unitSystem, settings.opentherm.unitSystem);
|
convertedTemp = convertTemp(indoorTemp, settings.system.unitSystem, settings.opentherm.unitSystem);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user