diff --git a/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx b/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx index 90a4e9f30..4283a8bd6 100644 --- a/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx @@ -56,7 +56,6 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { Current: device?.[`Battery${batteryIndex}PackTotalCurrent`] ?? 0, Power: device?.[`Battery${batteryIndex}Power`] ?? 0, Soc: device?.[`Battery${batteryIndex}Soc`] ?? device?.[`Battery${batteryIndex}SocSecondvalue`] ?? 0, - Soh: device?.[`Battery${batteryIndex}Soh`] ?? 0, } }; } else { @@ -69,7 +68,6 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { Current: inverter[`Battery${index}Current`] ?? 0, Power: inverter[`Battery${index}Power`] ?? 0, Soc: inverter[`Battery${index}Soc`] ?? 0, - Soh: inverter[`Battery${index}Soh`] ?? 0, } }; } @@ -221,7 +219,7 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { - + {/**/} {/*Daily Charge Energy*/} {/*Daily Discharge Energy*/} @@ -294,7 +292,7 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { > {battery.Soc + ' %'} - {battery.Soh + ' %'} - + */} {/* - {/* Battery SoH Chart */} - - - - - - - - - - - - - - { - startZoom(); - handleBeforeZoom(chartContext, options); - } - } - } - }} - series={generateSeries( - batteryViewDataArray[chartState].chartData, - 'Soh', - 'green' - )} - type="line" - height={420} - /> - - + {/* Battery SoH Chart — removed for SodiostoreHome */} )}