@ronniepettersson/homebridge-dummy
Version:
Create Homebridge accessories to help with automation and control — scheduling, delays, sensors, commands, webhooks, and more
14 lines (13 loc) • 509 B
TypeScript
import { Timeout } from './timeout.js';
import { ScheduleConfig } from '../model/types.js';
import { Log } from '../tools/log.js';
export declare class Schedule extends Timeout {
private readonly schedule;
private readonly callback;
static new(schedule: ScheduleConfig, caller: string, log: Log, disableLogging: boolean, callback: () => Promise<void>): Schedule | undefined;
private cronjob?;
private constructor();
private startTimeout;
private startCron;
teardown(): void;
}