changes is_alarm to is_realtime with config