type

Alarms may be by quality or by rem phase (see Time window duration).

For alarms by quality uses sleep quality value, for alarms by rem phase - minutes since midnight.

Default: AlarmType.BY_REM_PHASE