mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Reference level changes
This commit is contained in:
@@ -129,7 +129,7 @@ namespace ChrisKaczor.HomeMonitor.Weather.Service.Data
|
||||
switch (weatherValueType)
|
||||
{
|
||||
case WeatherValueType.LightLevel:
|
||||
query = query.Replace("@Value", "LightLevel / BatteryLevel");
|
||||
query = query.Replace("@Value", "LightLevel / 3.3");
|
||||
break;
|
||||
default:
|
||||
query = query.Replace("@Value", weatherValueType.ToString());
|
||||
|
||||
@@ -13,7 +13,7 @@ FROM (
|
||||
Humidity,
|
||||
PressureTemperature,
|
||||
Pressure,
|
||||
LightLevel / BatteryLevel AS LightLevel,
|
||||
LightLevel / 3.3 AS LightLevel,
|
||||
Rain
|
||||
FROM Reading
|
||||
WHERE Timestamp BETWEEN @Start AND @End
|
||||
|
||||
Reference in New Issue
Block a user