Add pre-alarm action
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
nemunaire 2024-10-11 17:07:42 +02:00
commit a3b00fe38d
4 changed files with 86 additions and 13 deletions

View file

@ -5,11 +5,13 @@ export class Settings {
}
}
update({ language, gong_interval, weather_delay, weather_action, max_run_time, max_volume, federation }) {
update({ language, gong_interval, weather_delay, weather_action, pre_alarm_delay, pre_alarm_action, max_run_time, max_volume, federation }) {
this.language = language;
this.gong_interval = gong_interval;
this.weather_delay = weather_delay;
this.weather_action = weather_action;
this.pre_alarm_delay = pre_alarm_delay;
this.pre_alarm_action = pre_alarm_action;
this.max_run_time = max_run_time;
this.max_volume = max_volume;
this.federation = federation;