diff --git a/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx b/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx index a94a91042..c96266492 100644 --- a/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx @@ -42,6 +42,7 @@ import { remapTree, computeFlatValues, wouldLoseData, + SODIOHOME_DEVICE_TYPES, } from './installationSetupUtils'; interface InformationSodistorehomeProps { @@ -93,10 +94,7 @@ function InformationSodistorehome(props: InformationSodistorehomeProps) { return [value.trim()]; }; - const DeviceTypes = [ - { id: 3, name: 'Growatt' }, - { id: 4, name: 'inesco 12K - WR Hybrid' } - ]; + const DeviceTypes = SODIOHOME_DEVICE_TYPES; // Preset state — initializes from persisted installationModel, empty for legacy const [selectedPreset, setSelectedPreset] = useState( @@ -741,7 +739,7 @@ function InformationSodistorehome(props: InformationSodistorehomeProps) { shrink sx={{ fontSize: 14, backgroundColor: 'white', px: 0.5 }} > - Installation Model +