This commit is contained in:
Proddy
2023-06-05 18:09:02 +02:00
parent 2e63d60273
commit 52d4505410
6 changed files with 13 additions and 15 deletions

View File

@@ -11,7 +11,6 @@ import type {
DeviceEntity,
UniqueID,
CustomEntities,
WriteDeviceValue,
WriteTemperatureSensor,
WriteAnalogSensor,
SensorData,
@@ -37,7 +36,9 @@ export const readDeviceData = (id: number) =>
export const writeDeviceValue = (id: number, devicevalue: DeviceValue) =>
alovaInstance.Post('/writeDeviceValue', { id, devicevalue });
// TODO to change to alova
//
// TODO change below to use alova
//
export function restart(): AxiosPromise<void> {
return AXIOS.post('/restart');