import {Bool, ComponentBase} from "./Component" export class Daytime extends ComponentBase { static SCHEMA = { is_daytime: Bool, current_time: Number, start_hour: Number, end_hour: Number, duration: Number, start_delay: Number, } isDaytime?: boolean currentTime?: number startHour?: number endHour?: number // duration?: number startDelay?: number // legacy is_daytime = Boolean() current_time = NaN start_hour = NaN end_hour = NaN duration = NaN start_delay = NaN }