Can set device desired version

This commit is contained in:
2024-10-05 16:26:07 +02:00
parent 2f971c0055
commit 2feb3f6490
9 changed files with 107 additions and 3 deletions

View File

@ -37,6 +37,7 @@ export interface Device {
validated: boolean;
enabled: boolean;
relays: DeviceRelay[];
desired_version?: string;
}
export interface UpdatedInfo {

View File

@ -41,6 +41,10 @@ export function GeneralDeviceInfo(p: {
value={p.device.info.reference}
/>
<DeviceInfoProperty label="Version" value={p.device.info.version} />
<DeviceInfoProperty
label="Desired version"
value={p.device.desired_version ?? "None"}
/>
<DeviceInfoProperty label="Name" value={p.device.name} />
<DeviceInfoProperty
label="Description"