New field to disable a repeated alarm
This commit is contained in:
parent
45efc3601e
commit
5526940e61
4 changed files with 13 additions and 1 deletions
|
|
@ -5,13 +5,14 @@ export class AlarmRepeated {
|
|||
}
|
||||
}
|
||||
|
||||
update({ id, weekday, time, routines, ignore_exceptions, comment, excepts, next_time }) {
|
||||
update({ id, weekday, time, routines, disabled, ignore_exceptions, comment, excepts, next_time }) {
|
||||
this.id = id;
|
||||
this.weekday = weekday;
|
||||
this.time = time;
|
||||
this.routines = routines == null ? [] : routines;
|
||||
this.ignore_exceptions = ignore_exceptions;
|
||||
this.comment = comment;
|
||||
this.disabled = disabled == true;
|
||||
if (excepts !== undefined)
|
||||
this.excepts = excepts;
|
||||
if (next_time !== undefined)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue