Compare commits

...

2 Commits

Author SHA1 Message Date
Yinyin Liu 4d6a2fdd4d Add .env to gitignore to prevent committing secrets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:45:06 +01:00
Yinyin Liu 02d2ef054b fix Mode reading on OverView Page from Inverter reading 2026-02-12 11:39:39 +01:00
3 changed files with 8 additions and 2 deletions

2
.gitignore vendored
View File

@ -3,4 +3,4 @@
**/obj **/obj
*.DotSettings.user *.DotSettings.user
**/.idea/ **/.idea/
**/.env

View File

@ -452,6 +452,8 @@ export interface JSONRecordData {
Battery2Soh:number; Battery2Soh:number;
PvPower:number; PvPower:number;
ConsumptionPower:number; ConsumptionPower:number;
WorkingMode?:string;
OperatingMode?:string;
}; };
AcDcGrowatt: { AcDcGrowatt: {

View File

@ -339,7 +339,11 @@ function SodioHomeInstallation(props: singleInstallationProps) {
fontSize: '14px' fontSize: '14px'
}} }}
> >
{values.Config.OperatingPriority} {props.current_installation.device === 4
? values.InverterRecord?.WorkingMode
: props.current_installation.device === 3
? values.InverterRecord?.OperatingMode
: values.Config.OperatingPriority}
</Typography> </Typography>
</div> </div>
)} )}