Reduce length of weatherProvider field in response

This commit is contained in:
Matthew Oslan
2020-03-21 16:37:03 -04:00
parent 0cfd777963
commit a563cbd21c
7 changed files with 10 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ async function calculateEToWateringScale(
return {
scale: scale,
rawData: {
weatherProvider: etoData.weatherProvider,
wp: etoData.weatherProvider,
eto: Math.round( eto * 1000) / 1000,
radiation: Math.round( etoData.solarRadiation * 100) / 100,
minT: Math.round( etoData.minTemp ),