mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add NTP check to scheduler
This commit is contained in:
@@ -17,7 +17,6 @@ import {
|
||||
WriteSensor,
|
||||
WriteAnalog,
|
||||
SensorData,
|
||||
ScheduleItem,
|
||||
Schedule
|
||||
} from './types';
|
||||
|
||||
@@ -97,7 +96,7 @@ export function getCustomizations(): AxiosPromise<void> {
|
||||
return AXIOS.get('/getCustomizations');
|
||||
}
|
||||
|
||||
export function readSchedule(): AxiosPromise<ScheduleItem[]> {
|
||||
export function readSchedule(): AxiosPromise<Schedule> {
|
||||
return AXIOS.get('/getSchedule');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user