feat: scale house plant soil moisture to 0-100
Co-authored-by: aider (gemini/gemini-3.1-pro-preview) <aider@aider.chat>
This commit is contained in:
+2
-1
@@ -929,8 +929,9 @@ function Graphs({end, duration}) {
|
|||||||
colors={['black', 'red', 'blue']}
|
colors={['black', 'red', 'blue']}
|
||||||
end={end}
|
end={end}
|
||||||
duration={duration}
|
duration={duration}
|
||||||
yDomain={[0, 1000]}
|
yDomain={[0, 100]}
|
||||||
unitKey='Soil'
|
unitKey='Soil'
|
||||||
|
transform={v => v / 10}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{!!api_key ||
|
{!!api_key ||
|
||||||
|
|||||||
Reference in New Issue
Block a user