eufy-mega / model/capabilities / AlarmDelaySeconds
Type Alias: AlarmDelaySeconds
type AlarmDelaySeconds = object;Alarm-delay durations the app's OWN picker UI offers — AlarmDelaySeconds is both the const value-object (AlarmDelaySeconds.sec45) and the union type of its values, so callers pass the named constant: {delaySeconds: AlarmDelaySeconds.sec45}.
NOT a wire constraint — the device itself does NOT validate against this list: a live test sent 50 (off this list) and the app reflected it correctly, no rejection. Typed as a closed set anyway so setAlarmDelayConfig callers get the same choices a human editing the same setting in the app would see, rather than an arbitrary int that could silently diverge from every value the real UI can actually produce (and so a caller doesn't have to guess what's "sane" — these ARE all of them).
Properties
min3
readonly min3: 180 = 180;min5
readonly min5: 300 = 300;off
readonly off: 0 = 0;sec15
readonly sec15: 15 = 15;sec30
readonly sec30: 30 = 30;sec45
readonly sec45: 45 = 45;sec60
readonly sec60: 60 = 60;