Skip to content

Commit

Permalink
focus stealing vsnet
Browse files Browse the repository at this point in the history
  • Loading branch information
mplogas committed Sep 20, 2024
1 parent e6cc58b commit 13d2e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ecowitt.Controller/Mapping/SensorBuilderAddon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void CalculateGatewayAddons(ref Model.Gateway gateway, bool isMetr
var dewPoint = BuildTemperatureSensor("dewpointin", "Indoor Dewpoint",
isMetric
? CalculateDewPointMetric((double)tempin.Value, (double)humidityin.Value).ToString()
: CalculateDewPointImperial((double)tempin.Value, (double)humidityin.Value).ToString(), isMetric, isMetricdot);
: CalculateDewPointImperial((double)tempin.Value, (double)humidityin.Value).ToString(), isMetric, isMetric);
if (dewPoint != null) gateway.Sensors.Add(dewPoint);
}

Expand Down

0 comments on commit 13d2e58

Please sign in to comment.