diff --git a/interface/src/app/main/types.ts b/interface/src/app/main/types.ts index 38398bccb..69eeea539 100644 --- a/interface/src/app/main/types.ts +++ b/interface/src/app/main/types.ts @@ -42,6 +42,7 @@ export interface Settings { modbus_port: number; modbus_max_clients: number; modbus_timeout: number; + developer_mode: boolean; } export enum busConnectionStatus { @@ -273,6 +274,7 @@ export interface APIcall { device: string; cmd: string; id: number; + value?: string; // optional } export interface Action { diff --git a/interface/src/app/settings/ApplicationSettings.tsx b/interface/src/app/settings/ApplicationSettings.tsx index 946f295fd..6af5901b4 100644 --- a/interface/src/app/settings/ApplicationSettings.tsx +++ b/interface/src/app/settings/ApplicationSettings.tsx @@ -686,6 +686,16 @@ const ApplicationSettings = () => { {LL.SPECIAL_FUNCTIONS()} + + } + label={LL.DEVELOPER_MODE()} + /> { } label={LL.HEATINGOFF()} /> -